logoalt Hacker News

seki285 • today at 3:59 PM • 2 replies • view on HN

It's more of a hassle and a lot of the time is a bunch of unintuitive hacks. I hope we see more mainlined APIs for the browser instead


Replies

adzm • today at 4:07 PM

Like many things there is a good middle ground. HTML dialog and popover APIs are great, but combining that with javascript helps smooth out the rough edges.

A good example of this is the toast notification on this site. It is cool that we can pop up a toast using only HTML... but it can't be dismissed by anything other than user interaction.

➕ show 2 replies
prafandy • today at 4:22 PM

[flagged]