I am trying to detect if a certain webkit event 'webkitAnimationEnd
' is supported by the browser, to do so I like to check if the event exists. But I can't seem to figure out how. Does anyone have a clue?
Detecting event support without browser sniffing suggests that this ought to work:
'onWebkitAnimationEnd' in document.createElement('div');
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With