Invoker commands 😍
This title could be clearer and more informative.Try out Clickbait Shieldfor free (5 uses left this month).
Invoker commands have reached Baseline newly available status, enabling developers to open and close dialog elements directly from HTML without JavaScript. Using the `command` and `commandfor` attributes on buttons, you can trigger `show-modal` and `close` actions on a `<dialog>` element, eliminating the need for JavaScript event listeners and method calls like `showModal()` and `close()`.
•1m watch time
Sort: