Skip to content
This repository has been archived by the owner on Aug 10, 2020. It is now read-only.

Latest commit

 

History

History
30 lines (19 loc) · 768 Bytes

README.md

File metadata and controls

30 lines (19 loc) · 768 Bytes

Vue Trunquee

Trunquee Demo

A truncated marquee component for Vue.js.

Trunquee.vue truncates text wider than its container, with a marquee reveal on mouse enter.

Vue Component Source

See: /src/components/Trunquee.vue

Props

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')

Usage

See: /src/Demo.vue

Demo

npm install
npm run serve