python (65.2k questions)
javascript (44.3k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (13k questions)
How to change background color through component of svelte
My program look like this
<script>
import { islogin, mode } from './stores.js';
import Login from './Login.svelte';
import Logout from './Logout.svelte';
import Menu from './Menu...
Pengchai
Votes: 0
Answers: 1
onMount is being called twice
I have a layout page and each component inherits from it. My problem is onMount function is being called twice for each component. It makes many issues because my onMount function contains calls to AP...
PAV
Votes: 0
Answers: 1
setTimeout to scrollIntoView in svelte
How would i run a bucle to scrollIntoView() in svelte with setTimeout().
I am trying to do an autoSlide.
const scrollIntoView = ({currentTarget}) => {
const scrollToElement = document.querySele...
encebollado
Votes: 0
Answers: 2
How to restrict Svelte transitions?
Is there a way to restrict transitions? I have trouble articulating what I mean, so I have created a REPL illustrating the point:
When you switch to 'AnimatedTree', you have a tree with slide transit...
Markstar
Votes: 0
Answers: 0