play
Plays the effect
Returns
Promise
a jQuery promise instance, which can be used for callbacks, or passed to jQuery.when.
Example
<div id="foo">
I will be faded out
</div>
<script>
kendo.fx($("#foo")).fadeOut().play().then(function() {
/* The result can be observed in the DevTools(F12) console of the browser. */
console.log("Foo faded out");
});
</script>
In this article