Ancestors

Written by Mayank on 2025-01-27 at 22:24

is there a way to listen to the "opening" of top-layer elements without patching globals?

i want to run some code whenever a <dialog> or popover opens.

(sorry if i'm out of the loop)

[#]WebDev #HTML #JavaScript

=> More informations about this toot | More toots from mayank@front-end.social

Toot

Written by Paul Foster on 2025-01-27 at 23:37

@mayank Like this? https://developer.chrome.com/blog/new-in-chrome-132?hl=en#dialog-toggle

=> More informations about this toot | More toots from plfstr@mastodon.social

Descendants

Proxy Information
Original URL
gemini://mastogem.picasoft.net/thread/113902949224524325
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
251.484425 milliseconds
Gemini-to-HTML Time
0.432673 milliseconds

This content has been proxied by September (3851b).