vue-fadeout
v1.0.3
Published
Vue component for inline text fadeout
Downloads
4
Readme
Vue Fadeout
Vue component for inline text fadeout.
Props:
| Prop | Type | Default | Note | | --- | --- | --- | --- | | text | String | | Input text | | [truncateChars] | Number | 249 | Number of characters to truncate at | | [fadeChars] | Number | 25 | Number of characters to fade out over | | [offset] | Number | 0 | Offset characters to fade out over. Will make the final characters more opaque. | | [fade] | Boolean | true | Enable fade | | [dots] | Boolean | false | Append ellipsis (three dots) |