Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ellipse-copy

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ellipse-copy

Ellipse copy

  • 1.0.5
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

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'

Keywords

FAQs

Package last updated on 07 Aug 2018

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

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc