3 ms·
So I could so something like: $('.focus').prop('checked', true); But if I wanted to attract attention to the radio box, the only way of animating it with
by blowski 10y ago
So I could so something like:
$('.focus').prop('checked', true);
But if I wanted to attract attention to the radio box, the only way of animating it with this library would be to check it, and that might cause problems if I've got listeners for the 'change' event. So if I could just do something like:
$('.focus').addClass('bounce');
that would be nice.
- 720kb 10y agoOh, understood what you mean, you could use the animation name, it's included in the CSS files. Just: .my-class{ animation: boing 2s etc...}