1.0.5 • Published 6 years ago

ellipse-copy v1.0.5

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

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'

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago