1.0.9 • Published 3 years ago

@bitworks/svelte-split-text-animation v1.0.9

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

svelte split text animation

Using GSAP and Split-type packages animates text when top of the viewport is reached

npm install @bitworks/svelte-split-text-animation

Usage

<script>
import  {SplitText}  from "@bitworks/svelte-split-text-animation";
</script>

<SplitText animationY={'50%'} animationDuration={1} animationStagger={0.3} animationType={'words'} >
  <p>Lorem ipsum dolor sit amet</p>
</SplitText>

Available Parameters

Parameters correspond to gsap and split-type values

ParamsValue
animationY'100%'
animationDuration1
animationType'lines', 'words', 'chars'
animationStagger0.3
1.0.9

3 years ago

1.0.8

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago

0.0.5

3 years ago

0.0.4

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago