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

pfx-transition

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pfx-transition

Browser prefix helper for transition event

latest
Source
npmnpm
Version
1.0.0
Version published
Maintainers
1
Created
Source

pfx-transition Build Status

Browser prefix helper for transition event

Install

$ npm install --save pfx-transition

Usage

const transition = require('pfx-transition');

const slides = document.querySelectorAll('.slide');
slides.forEach(slide => {
	slide.addEventListener(transition.end, () => {
		// the transition has finished
	}, false);
});

API

transition

Object containing two properties, start and end, that map to transitionstart and transitionend, respectively, and include the correct vendor transition prefix (if needed).

License

MIT © Alex Cross

Keywords

prefix

FAQs

Package last updated on 13 Jan 2017

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