JSFiddle - React, Tailwind, and code Playground
by ianlunn
HTML
<div id="hi">
Click here to start a transition. A listener has been bound which should trigger an alert() when the transition ends. In Opera Mobile Experimental, neither transitionEnd events are triggered via jQuery. If you create a JavaScript equivalent,
</div>
CSS
.enabled{
color: red;
-o-transition-duration: 2s;
-webkit-transition-duration: 2s;
}
JavaScript
document.addEventListener("webkitTransitionEnd", function(){
alert("hi");
});