0.1.7 • Published 6 months ago

ellipsus v0.1.7

Weekly downloads
1
License
MIT
Repository
github
Last release
6 months 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.7

6 months ago

0.1.1

8 years ago

0.1.0

8 years ago

0.0.10

8 years ago

0.0.9

8 years ago

0.0.8

8 years ago

0.0.7

8 years ago

0.0.5

8 years ago

0.0.4

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago