Skip to main content
0 votes
0 answers
5 views

Is it valid to nest forms using shadow DOM in custom web components?

I have a question about custom web components. Custom element for example: class CustomButton extends HTMLElement { connectedCallback() { this.root = this.attachShadow({mode: "open&...
Budry's user avatar
  • 257
-1 votes
0 answers
6 views

How to share images from telegram mini app?

Please tell me what methods are there to allow the user to share content such as images in Telegram mini apps on JS? The only one I saw in the documentation is shareToStory, but these are only stories ...
Булат Каримов's user avatar
0 votes
0 answers
16 views

Expand nodejs socket size

I have a tcp proxy server in nodejs and it uses the net module. Sometimes large packets come through and then the server just crashes. I tried finding out how to expand the socket size online and from ...
pro2stinger's user avatar
1 vote
1 answer
25 views

Wordle clone with microphone integration: Why is addWord() not working while addKey() functions as expected?

I have a Wordle clone made with Expo React-Native with TypeScript. I followed a tutorial on YouTube Building a Wordle Game with React Native - Simon Grimm which explained the basic logic of the game, ...
matthew473's user avatar
-1 votes
1 answer
29 views

Javascript Fetch POST Request is showing up as a GET request on my backend (and stopping anything from working)

This is my post request. It is used to send the data of the user to a backend php page. I did some debugging and const fullusername = "<?php echo $to; ?>"; const ...
Martello's user avatar
0 votes
0 answers
21 views

Multiple dynamic Swiper JS slides on same page

Let's say I have a custom CMS which allows me to add multiple slides on a page and each slide will have different options (slides to show at a time, slides to scroll, breakpoints, etc) To my knowledge ...
CyberJ's user avatar
  • 1,104
-6 votes
0 answers
38 views

Is there a way to transform images in V8 js engine without transforming it to Uint8Array? [closed]

Most js/wasm libraries that transform images, require transforming it to Uint8Array first. The problem is that image converted to Uint8Array can take x10 more memory than image stored on a drive (10MB ...
Mike's user avatar
  • 533
1 vote
1 answer
31 views

JavaScript Playwright how do i write a test that ensures an action results in one server call and not infinite server calls

I am writing a JavaScript application and using Playwright to test my application. I found a bug in my code such that on selecting an item in a list, my app got stuck in an infinite loop calling a ...
se22as's user avatar
  • 2,372
0 votes
0 answers
20 views

Unable to open a modal from within my teams application

I am create a teams application and is built using angular using the MDBootstrap packages. The application itself is hosted using AWS cloudfront. Now the issue I am having is when I open a modal from ...
pilotman's user avatar
  • 675
0 votes
1 answer
34 views

super inconsistent animation in css and javascript

I want to make a scrolling button, where the text part scrolls out when you hover on it and scroll back when you stop hovering, but the animation is really inconsistent. This code works on the first ...
黃柏瑋's user avatar
0 votes
1 answer
11 views

How can I execute js when loading a sub route on a static build in Sveltekit

I never noticed this before, but I've encountered a weird issue in my Sveltekit application. To put it simply, I have a ("/map") sub route that when refreshed/loaded directly as the sub ...
AtomicElmo's user avatar
0 votes
0 answers
10 views

Chrome extension - create dynamic declarative net request ruleset

I want to create a chrome extension to start using the declarativeNetRequest API. I saw that it need a ruleset where each rule will have this structure { "id" : 1, "priority": ...
newbiedev's user avatar
  • 3,476
1 vote
0 answers
10 views

Render Tiptap Table from a custom node that renders Vue Component using VueNodeViewRenderer(VueComponent)

I am trying to extend tiptap table extention that renders a vuecomponent as I want to add a button obove the table. I am trying the following code and when I call setTable(), it does not renders a 3 ...
pbs's user avatar
  • 11
0 votes
1 answer
30 views

Discord.js: My code throws "" is not a fucntion error

I am writing a private bot. When I wanted to make a command with option to ping another user. However, when I try to run it i am getting an error: TypeError: " " is not a function This is my ...
dawutheuwad's user avatar
0 votes
0 answers
13 views

Can set breakpoints in .js files in vscode only after started vite debugger?

Why I can only set valid breakpoints in .js files in vscode AFTER starting the vite (node.js) debugger? Not working: npx vite (starting the server) Set breakpoint in vscode Start Debugger with F5 New ...
PowerNow's user avatar
  • 393

15 30 50 per page
1
2 3 4 5
168861