A truncated marquee component for Vue.js.
Trunquee.vue
truncates text wider than its container, with a marquee reveal on mouse enter.
See: /src/components/Trunquee.vue
Name | Type | Description |
---|---|---|
text |
String | Text to truncate (required) |
speed |
Number | Marquee speed in milliseconds (default: 85) |
cursor |
String | CSS cursor on hover (default: 'help') |
See: /src/Demo.vue
npm install
npm run serve