New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

easy-step

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

easy-step

Handle steps as you want to

latest
Source
npmnpm
Version
1.3.0
Version published
Maintainers
1
Created
Source

EASY STEP

helps to handle stepped animation programmatically

travis build travis build

Installation

npm

npm i easy-step

cdn

<script src="https://unpkg.com/easy-step@1.2.1/dist/index.umd.min.js"></script>

Usage

browser

var stepper = new EasyStep()

es5 umd

var EasyStep = require('easy-step')

var stepper = new EasyStep()

es6

import EasyStep from 'easy-step'

var stepper = new EasyStep()

Constructor EasyStep

ParametertypeStatusDescription
triggerDOM elementoptionalUse it to trigger animation, also you can use api to trigger animation so it's optional
itemsanyrequireditem that should be animated, can be everything because they will be passed in callback as parameter
delayIntrequireddelay animation

API

functionparamsReturnDescription
onString, functionnullsubscribe on event
offString, functionnullunsubscribe on event
triggernulltrigger amination
reverseDirectionnullreverse animation direction
isForwardBoolcheck if forward
isBackwardBoolcheck if backward

Events

eventcallback args typeDescription
forwardanyfires on forward
backwardanyfires on backward
completeanyon all items animated

Keywords

step

FAQs

Package last updated on 30 Sep 2016

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