0.2.0 • Published 2 years ago

vue-text-slide v0.2.0

Weekly downloads
4
License
MIT
Repository
github
Last release
2 years ago

vue-text-slide

Vue component TextSlide to animate text changes with default or custom styles. Whenever your data property changes, the component will animate leaving / entering values.

Demo

<TextSlide :txt="msg" />

Default styles can be overriden like:

<TextSlide
  :txt="count"
  :styles="{background:'red', height:'2em', width:'2em', borderRadius:'1em'}"
  :styles-inner="{color:'white', alignItems:'center', justifyContent:'center'}"
  distance-x="50%"
  data-key="give-me-unique-key"
/>

optional props

  • styles, an object to style the component's outer box
  • styles-inner, an object to style the component's inner box
  • distance-x, to override the default translateX amount 5%
  • data-key, optional to make each component unique for application that uses multiple components
0.2.0

2 years ago

0.1.9

4 years ago

0.1.8

4 years ago

0.1.7

4 years ago

0.1.6

4 years ago

0.1.5

4 years ago

0.1.4

4 years ago

0.1.3

4 years ago

0.1.2

4 years ago

0.1.1

4 years ago

0.1.0

4 years ago