[ Mini Kiebo ]
Server: Windows NT AKFAR_SERVER 10.0 build 26200 (Windows 10) AMD64
Path:
D:
/
xampp
/
htdocs
/
sisurat
/
public
/
library
/
sweetalert2
/
src
/
utils
/
dom
/
[
Home
]
File: animationEndEvent.js
import { isNodeEnv } from '../isNodeEnv.js' export const animationEndEvent = (() => { // Prevent run in Node env /* istanbul ignore if */ if (isNodeEnv()) { return false } const testEl = document.createElement('div') const transEndEventNames = { WebkitAnimation: 'webkitAnimationEnd', OAnimation: 'oAnimationEnd oanimationend', animation: 'animationend' } for (const i in transEndEventNames) { if (Object.prototype.hasOwnProperty.call(transEndEventNames, i) && typeof testEl.style[i] !== 'undefined') { return transEndEventNames[i] } } return false })()