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

node-marquee

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-marquee

Custom Marquee element with JavaScript

  • 1.0.19
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
49
decreased by-22.22%
Maintainers
1
Weekly downloads
 
Created
Source

Custom Marquee element with JavaScript.

Documentation: https://antonbobrov.github.io/node-marquee/

How to start with NPM

npm install node-marquee

How to start with CDN

<script src="https://cdn.jsdelivr.net/npm/node-marquee/dist/cdn/index.min.js"></script>

Example

<div class="node-marquee">This is a marquee element.</div>
import nodeMarquee from 'node-marquee';
nodeMarquee({
    selector: '.node-marquee'
});

Settings

OptionTypeDefaultDescription
selectorstring|HTMLElement.node-marqueeThe selector of the element or the elements itself.
speednumber1The amount of pixels to move with each frame.
autoplaybooleantrueIf you want the marquee element to start moving after its initializing.

Methods

Method NameDescription
playStart animation.
pausePause animation.

Keywords

FAQs

Package last updated on 24 Mar 2020

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