Answers for "elte html if not updating"

0

elte html if not updating

//methods like 'push' wont trigger the {#if} to update
//you need to dummy assign the value:
function addNumber() {
	numbers.push(numbers.length + 1);
	numbers = numbers;
}
Posted by: Guest on May-20-2021

Code answers related to "elte html if not updating"

Code answers related to "Javascript"

Browse Popular Code Answers by Language