1.0.7 ⢠Published 3 years ago
svelte-typing-animated v1.0.7
svelte-typing-animated
Svelte component to animate typing of a text
Installation đ§
yarn add svelte-typing-animated
or
npm install svelte-typing-animated
Usage â¨ď¸
<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 đ