ellipse-copy

1.0.5 • Public • Published

ellipse-copy

ES6 Class for handling ellipse's in copy

Whats This?

This ES6 class will let you ellipse copy for different breakpoints.

Demo

Check out the codepen for a example.

Config

Config requires an Array of objects that pass width and count as props. Width is the max value for the count that is passed.

new Ellipse([
  {
    width: 768,
    count : 50
  },
  {
    width: 980,
    count: 100
  },
  {
    width: 1280,
    count: 150
  }
])

Installation

npm i ellipse-copy

import Ellipse from 'ellipse-copy'

Package Sidebar

Install

npm i ellipse-copy

Weekly Downloads

2

Version

1.0.5

License

ISC

Unpacked Size

107 kB

Total Files

12

Last publish

Collaborators

  • cagosto