JSFiddle - React, Tailwind, and code Playground

by creativecouple

HTML

<script src="http://creativecouple.github.com/jquery-timing/jquery-timing.min.js"></script>
<p>The animation queue of the element is interrupted:</p>
<div>Fade in, and out.</div>

CSS

div {
    background: #fed;
    padding: 1em;
    float: left;
}

JavaScript

// start some animations and interrupt them after 100ms
$('div').fadeOut('slow').wait(100).stop(true);

// do some action after .join() - it will never happen:
$('div').text(".join() didn't fire").join().text('.join() fired!!');