Package Exports
- ellipse-copy
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (ellipse-copy) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
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'