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

after-transition

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

after-transition

Fire a callback after a transition or immediately if the browser does not support transitions

  • 0.0.4
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
156
decreased by-34.45%
Maintainers
1
Weekly downloads
 
Created
Source

after-transition

Fire a callback after a transition or immediately if the browser does not support transitions. If the element does not have a transition property it will also fire immediately.

Installation

$ component install anthonyshort/after-transition

or via npm for use with Browserify

$ npm install after-transition

API

var afterTransition = require('after-transition');

afterTransition(el, function(){
  // Do things when the transition has finished
  // This will fire immediately for IE
});

afterTransition.once(el, function(){
  // Same as above but will only fire once
});

License

MIT

Keywords

FAQs

Package last updated on 23 Aug 2013

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