@kdaily/shooting-stars
v1.0.4
Published
Realistic shooting stars effect
Downloads
6
Readme
shooting-stars
Realistic shooting stars effect
Installation
npm install @kdaily/shooting-stars
Usage
import SS from ('shooting-stars')
const ss = new SS(<element_id>, <options>).init()
Where element_id
is the id of the DOM element you want the shooting stars to appear in, and options
is an optional object.
Options
Default values are
{
frequency: 1
}
Where frequency
is the number of seconds between shooting stars