0.1.1 • Published 6 years ago

ellipsus v0.1.1

Weekly downloads
1
License
MIT
Repository
github
Last release
6 years ago

A Text Ellipsis Component for React

Build Status npm version

sample

Actively maintained. Welcome to PR/Issue.  🤡👉 Demo 👈🤡

Install

npm install --save ellipsus

Usage

import Ellipsus, { Flyby } from 'ellipsus'

// in your render() or whatever
<Ellipsus>
  a really long long long text.........
</Ellipsus>

// or with props
<Ellipsus repeat={repeat} duration={duration} interval={interval}>
  a really long long long text.........
</Ellipsus>

// Flyby text
<Flyby repeat={repeat} duration={duration} interval={interval}>
  a really long long long text.........
</Flyby>

Props

NameTypeDefaultDescription
repeatnumberInfinityHow many times you want your string move back and forth
durationnumber2000Duration of animation, milliseconds
intervalnumber3000Interval between each animation, milliseconds
0.1.1

6 years ago

0.1.0

6 years ago

0.0.10

6 years ago

0.0.9

6 years ago

0.0.8

6 years ago

0.0.7

7 years ago

0.0.5

7 years ago

0.0.4

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago