Most voted "svelte" questions
4 questions
Sort by count of
-
16
votes2
answers829
viewsWhat is Svelte JS?
Nowadays, much is said about the web Components and custom Elements, and along with big names like Angular, React, Vue and Polymer, I recently heard the name Svelte JS. What is Svelte JS? It is…
-
3
votes2
answers57
viewsWhat is the difference between onDestroy and the function returned by onMount callback in Svelte?
Svelte provides the function onMount, which is executed just after rendering the component and takes a function per parameter: onMount(() => { console.log('hello') }) If the argument function…
-
1
votes0
answers18
viewsHow to style html tags that are inside a variable
Please, can someone help me in this example? Use ckeditor5 with Svelte, using the package ckeditor5-svelte, and wanted to increase the preview image of the post, but I do not know how to achieve…
-
-2
votes1
answer80
viewsI can’t replace characters from one string to another - Is this a Javascript bug?
I am trying to make a substitution effect from one string to another, but without deleting the contents of the first string altogether. As if it were a special effect, each letter of a string turns…