Socket
Socket
Sign inDemoInstall

dynamic-marquee

Package Overview
Dependencies
0
Maintainers
1
Versions
43
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.6.1 to 2.6.2

2

package.json
{
"name": "dynamic-marquee",
"version": "2.6.1",
"version": "2.6.2",
"description": "A small library for creating marquees.",

@@ -5,0 +5,0 @@ "main": "./dist/dynamic-marquee.js",

@@ -15,4 +15,8 @@ # Dynamic Marquee

# Demo
## Using react?
Checkout "[dynamic-marquee-react](https://github.com/tjenkinson/dynamic-marquee-react)" instead!
## Demo
[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/github/tjenkinson/dynamic-marquee/tree/master/demo?title=Dynamic%20Marquee%20Demo&file=src%2Fmain.ts)

@@ -22,3 +26,3 @@

# Installation
## Installation

@@ -48,7 +52,7 @@ ```

# Usage
## Usage
## Construct Marquee Instance
### Construct Marquee Instance
### With Default Options
#### With Default Options

@@ -59,3 +63,3 @@ ```js

### With Custom Options
#### With Custom Options

@@ -70,3 +74,3 @@ ```js

## Append Item
### Append Item

@@ -116,3 +120,3 @@ You can add DOM elements, or just a string (which will automatically be wrapped in a div).

## Change the scroll rate? (px/s)
### Change the scroll rate? (px/s)

@@ -127,3 +131,3 @@ You can change the rate at any time, and set to 0 to pause.

## Reset
### Reset

@@ -138,3 +142,3 @@ To remove all items call

## When has an item been removed?
### When has an item been removed?

@@ -149,3 +153,3 @@ You can be notified when an item has been removed with:

## When have all items finished scrolling?
### When have all items finished scrolling?

@@ -166,3 +170,3 @@ You can be notified when the scroller is empty with:

# Loop
## Loop

@@ -169,0 +173,0 @@ A `loop()` function is provided for making looping content simple.

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc