4 ms·
Oh man, there's a <dialog> element?! There are probably occasions where that is the whole reason I pulled a JS framework in, since default alert boxes are horr
by zmmmmm 3y ago
Oh man, there's a <dialog> element?!
There are probably occasions where that is the whole reason I pulled a JS framework in, since default alert boxes are horrible and anything better is a heap of work to do in a nice looking yet portable way.
- troupo 3y ago> Oh man, there's a <dialog> element?! It only exist because browsers decided to remove alert/confirm/prompt. Before this it existed in a limbo plagued by so many issues that Chrome even suggested to remove the spec. None of the issues were fixed. But within a year from Chrome's botched attempt to remove alert it suddenly shipped in all browsers.