Socket
Book a DemoInstallSign in
Socket

ellipsus

Package Overview
Dependencies
Maintainers
0
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ellipsus

[![Build Status](https://travis-ci.org/noru/ellipsus.svg?branch=master)](https://travis-ci.org/noru/ellipsus) [![npm version](https://img.shields.io/npm/v/ellipsus.svg)](https://www.npmjs.com/package/ellipsus)

0.1.7
latest
Source
npmnpm
Version published
Weekly downloads
0
Maintainers
0
Weekly downloads
 
Created
Source

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

Keywords

react

FAQs

Package last updated on 02 Jan 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.