python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
How does the browser know when a promise has resolved?
I've been learning about the event loop that browsers use and how it processes macrotasks and microtasks when they are added to their respective queues.
My question is how does the event loop know tha...
user14216042
Votes: 0
Answers: 0
Passing Multiple Arguments to a Custom Event in Vue
According to the Vue documentation - I linked to the relevant page - I can emit a custom event together with a value by typing <ChildComponent @click="$emit('myEvent', 1)" /> and, if t...
Ralph
Votes: 0
Answers: 1
React component: Highlight a div in page B when div in page A is clicked
I am trying to figure out the following:
If : addCanvas button is clicked in Dashboard.js (first web page); then: canvasMenu div in TopPanel.js is highlighted by default (child component in second pag...
Suffian Samsuddin
Votes: 0
Answers: 1
How do you reset an event?
I'm building a calculator. I can't get it to display the 2nd number that the user wants to calculate. For example, if the user wants to calculate 10 * 2. I want to display the 10. After they click *, ...
medOnline5
Votes: 0
Answers: 0