Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

It is actually not that hard in CSS plus vanilla JS using stuff like the `animationend` event (https://developer.mozilla.org/en-US/docs/Web/API/Element/ani...). Of course svelte provides a much easier interface, then having to have to deal with event listeners.


Yes, great point - I meant to say that using CSS animations is hairy if one is using Svelte, not that they're hairy generally.




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

Search: