Pat's Blog

javascript

A vanilla JS replacement for fadeOut/fadeIn callbacks

During refactoring jquery-console to not contain jQuery, I ended up having to replace .fadeOut(fn) and .fadeIn(fn) a few times, which I can imagine will be useful to others. Here’s a quick snippet for replacing fadeOut....

17 Oct 2018