Skip to main content
The 2024 Developer Survey results are live! See the results

Questions tagged [javascript]

For questions about programming in ECMAScript (JavaScript/JS) and its different dialects/implementations (except for ActionScript). Note that JavaScript is NOT Java. Include all tags that are relevant to your question: e.g., [node.js], [jQuery], [JSON], [ReactJS], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 votes
0 answers
3 views

NodeJS WebRTC - RTCAudioSource - Expected a .byteLength of 480, not 2770

I'm trying to have my nodejs backend act as a peer that streams pcm audio to the browser via webrtc (https://github.com/WonderInventions/node-webrtc). (let's assume it's the only way to achieve what I ...
Royi Bernthal's user avatar
-4 votes
0 answers
22 views

Instructions to change text color in blogspot posts [closed]

I want to change the color of the [am] chords in the article (attached image) on all posts on blogspot, how do I use the javascript function? I hope everyone can help! Thank you very much !! ...from ...
Mr Nguyên's user avatar
0 votes
0 answers
10 views

JS; using a loop to populate an array from several json files throws undefined error

Novice at JS. I have several JSON files. I created a variable containing the names of the JSON files. I also have created an 2D array (dist) that I wish to populate. I want to use a for loop to step ...
Russ Yeager's user avatar
0 votes
0 answers
9 views

Mock static method of object in react jest

I want to mock a static method defined outside a component. Here is my component: import Authenticate from '/api/Authenticate'; export default class MyComponent extends React.Component { render() { ...
Sonam's user avatar
  • 1
0 votes
0 answers
4 views

Mapbox: Text of the point/circle behind is visible over the point in front

I want to show the points and to write data inside. Problem is that the data (numbers) are shown for the points behind instead of the ones in front. I would also like for smaller number circles to ...
Luka Ladisic's user avatar
0 votes
0 answers
12 views

Manipulate data for Row Span logic in ag grid

I have an ag grid with row spanning and I am able to do row span for first and second column. Can anyone please help me for row span logic for rest of the columns (notes, votes)? I think row span ...
Kj Shah's user avatar
0 votes
0 answers
11 views

Webpack: How do I replace <use> tag with actual svg data?

My index.html uses a svg in this way: <button class="button--settings" id="button_settings"> <svg role="img"> <use href="assets/images/...
Bromanius's user avatar
0 votes
1 answer
25 views

How can the input value be enclosed in a variable?

I'm trying to create a component that will have an input and a button. In input, the user enters his nickname. This nickname, that is, the input value, must be stored in a variable. This variable is ...
zzhuravleff's user avatar
0 votes
0 answers
19 views

Why is my horizontal rule element not visible in the tooltip?

How can I customize the tooltip to my liking? Nothing I try seems to work. formatter: function() { let total = 0; let tooltipHtml = `<strong>${this.x}</strong><br/>`; ...
Илим KGZ's user avatar
0 votes
0 answers
7 views

VS code extension - Gutter icons

I am currently using codelens inorder to click and proceed to action , How do I add gutter icon with quick pick menu to show actions , Thanks The set/get decoration endpoint doesnt seem to be working ...
Harsha Aditya's user avatar
0 votes
0 answers
16 views

How to fetch data for Client Components on server-side

When I say Client Components -> I mean files that uses use client at the top of it, and Server Components — files that are using use server accordingly Nobody says, how to fetch data on the server ...
Ahmed Faraz's user avatar
0 votes
0 answers
19 views

How can I get the width of my horizontal bar graph with chart.js?

I made a chart with the library chart.js, and next to the chart are the data numbers, so if I have a chart with the data of 150, it will display 150 next to the horizontal chart, but that number isn't ...
Raphael Zimmer's user avatar
0 votes
0 answers
12 views

How to generate openapi doc in express

I'm making a REST service using javascript and express. I have some endpoints and I wanna create a swagger file to serve along with it. I'm using swagger-autogen to generate the swagger file. Even ...
CantBlameM3's user avatar
0 votes
0 answers
15 views

element plus key How do I set the key for select v2

How do I set the key for select v2 to prevent the entire visual list from being refreshed during virtual scrolling and reuse the dom using vue's diff algorithm <template> <el-select-v2 ...
Shuo Chen's user avatar
0 votes
0 answers
10 views

Data resolution are not changing when try to minimize the resolution

In Firefox browser, when opened in normal form all data moves towards right, while it appears correctly in Chrome and Edge. Also when I tried to minimize the resolution in edge or chrome all data ...
Pam's user avatar
  • 15

15 30 50 per page
1
2 3 4 5
168846