# getTransmationDuration

Get the animation or the transition duration


### Parameters
Name  |  Type  |  Description  |  Status  |  Default
------------  |  ------------  |  ------------  |  ------------  |  ------------
$elm  |  **{ [HTMLElement](https://developer.mozilla.org/fr/docs/Web/API/HTMLElement) }**  |  The element to get the animation/transition duration from  |  required  |

Return **{ Integer }** The animation/transition duration in ms

### Example
```js
	import getTransmationDuration from 'coffeekraken-sugar/js/dom/getTransmationDuration'
getTransmationDuration($myElm) // 200
```
Author : Olivier Bossel [olivier.bossel@gmail.com](mailto:olivier.bossel@gmail.com) [https://olivierbossel.com](https://olivierbossel.com)