Learn about our RFC process, Open RFC meetings & more.Join in the discussion! »

get-transition-duration

1.1.1 • Public • Published

get-transition-duration

Downloads Downloads npm version dependencies dev dependencies License

get the transition duration of an element

Getting Started

Install it via npm:

npm install get-transition-duration

And include in your project:

import getTransitionDuration from 'get-transition-duration';

Usage

/**
*@param {Element} element 
*@param {Boolean} withDelay 
*/
getTransitionDuration(element, withDelay) { ... } // => number

License

MIT

Keywords

none

Install

npm i get-transition-duration

DownloadsWeekly Downloads

2

Version

1.1.1

License

MIT

Last publish

Collaborators

  • avatar