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.
javascript
994
questions
0
votes
0
answers
7
views
Download/Preview files in MS Teams from mobile device in custom teams application
I'm facing a wall on how to be able to download/Preview a file from a Microsoft Teams app on mobile.
We have a custom Microsoft Teams application. In our application we have files that users should be ...
0
votes
0
answers
13
views
Simple sticky scroll effect causes glitch on mobile browsers
I wanted to use a scroll effect (parallax + filters) in a very simple page. It's just a sticky 120vh div with a background image and some text.
Everything works fine in the desktop browser and with ...
0
votes
0
answers
7
views
Context Load before Client? react-native
i created a context to start up the socket
but before that it validate the token sending a request to the server.
there is an issue that i can't really figure it out.
if the app is closed and i open ...
0
votes
0
answers
10
views
React & Cypress Component Tests: How to pass an object to an imported library in the Cypress setup?
I'm setting up Cypress to run component tests on a React-based app. The app uses multiple libraries, which I cannot change in any way. Although the app runs perfectly well, I'm unable to get any ...
0
votes
1
answer
8
views
How to build a Vue web component which reflects an internal state as an attribute?
I am building a web component input which looks like this with Vue 3:
<my-input value="Search"></my-input>
How can I make sure that the value attribute is always equivalent to ...
0
votes
0
answers
26
views
Vue 3 and Vitest focus input sets document.activeElement to HTMLBodyElement in test in composition API
Given a Vue 3 component
<template>
<input id="input" type="text" @focus="handleOnFocus($event)" />
</template>
<script setup type="ts">...
0
votes
0
answers
3
views
Filter nodes in quasar tree with lazy loading
How can I filter nodes in an quasar tree component when I have lazy child nodes ?
The problem is that when I have an lazy loading system, I need to open the entire tree in order to filter, ortherwise ...
0
votes
0
answers
11
views
How to get "supportedAbis" on android browser
How can i get at least one supported ABI of android device through website on android browser?
I just want supported ABI name like (arm64-v8a, armeabi-v7a, x86-64) of android device through website ...
0
votes
0
answers
9
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 ...
-4
votes
0
answers
29
views
thay đổi màu ký tự bằng css trên blogspot [closed]
I want to change all the colors of the chords with the form [Am]. [Dm] [C] on all my posts from timhopam.com to red by default for easy distinction.
Please guide how to change them by Css or ...
0
votes
0
answers
12
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() {
...
0
votes
0
answers
5
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 ...
0
votes
0
answers
14
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 ...
0
votes
0
answers
16
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/...
0
votes
1
answer
34
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 ...