1.0.7 ⢠Published 5 years ago
svelte-typing-animated v1.0.7
svelte-typing-animated
Svelte component to animate typing of a text
Installation đ§
yarn add svelte-typing-animatedor
npm install svelte-typing-animatedUsage â¨ď¸
<script>
import TypingAnimated from 'typing-animated';
</script>
<TypingAnimated text="<reverse>Hi There!</reverse>I am Srinivas" delay={100}/>Component params, 1. text - String that you want to render with typing animation. 2. delay - delay in milli seconds between each letter typing animation.
Note - Any text wrapped inside <reverse></reverse> will be typed and then removed. Try the code snippet given above to see that effect.
â¨ď¸ with â¤ď¸ by Srinivas đ