Hacker News new | past | comments | ask | show | jobs | submit login

Hi, thanks for the suggestions, all very smart. For events what do you mean? You could always trigger checked by javascript or jquery or whatever :)



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.


Oh, understood what you mean, you could use the animation name, it's included in the CSS files.

Just: .my-class{ animation: boing 2s etc...}




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: