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)
Store variable as class name?
Is it possible to use a store variable in Svelte as class name?
Tried this, but it doesn't work:
export const classNameForSvg = writable('iconWrapper')
<div class={`${$classNameForSvg}`} bind:off...
Tore
Votes: 0
Answers: 2
Closing an element every x iteration of each in Svelte
I am trying to write an application where every 3 bookmarks, Svelte closes the Row and begins a new one, allowing for the rows to continue. I use sveltestrap components, and these are the "Row&qu...
apiary
Votes: 0
Answers: 2
How do I display value(s) of fetch function?
I'm struggling to extract certain data values and put them in my website. I'm getting data from an API in JSON format. This is then handled by the handleResponse function. Now I wish to display one or...
KylianJay
Votes: 0
Answers: 1
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