The wobbling tooltip problem
A while ago I wrote a small article about modern tooltips. The idea was simple: use modern browser features such as the Popover API, keep the implementation small, and avoid pulling in a large positio

Search for a command to run...
Articles tagged with #js
A while ago I wrote a small article about modern tooltips. The idea was simple: use modern browser features such as the Popover API, keep the implementation small, and avoid pulling in a large positio

I'm in the process of building a collection of custom elements for my web applications (more on that next time). Today I wanted to talk about a specific kind of input elements: wysiwyg editor. When it comes to select an (open source, obviously) edito...

If you don't know what the Sanitizer API is, I highly recommend reading this article. So, that's all well and good... but that's only supported in Chrome, so that's going to be a problem. Using a polyfill ? The obvious solution is to use a polyfill, ...

Do you remember the time where you discovered document.ready ? I do, it seemed like magic: run the code once your html is loaded. Then, you initialise your jQuery plugins, and you are good to go... But recently, I've built a SPA (to be more precise, ...

If you are like me, you may not like typescript but you do like proper types. With jsdoc, it's easy enough to add proper typing to any bit of vanilla javascript code. However, things are not so great when you use the querySelector and querySelectorAl...

I've already talked about my "toaster" library in a previous article. Today, I've released a rather nice update that makes the Bootstrap toasts stack much nicer. What is the issue? As strange as it may sound, Bootstrap toast stacks are not well-desig...
