CSS Wrapped: 2025!
Read OriginalThis article details the new Invoker Commands feature in Chrome 135, which allows developers to control HTML <dialog> and [popover] elements (e.g., showModal, close) directly from a <button> using declarative attributes like `commandfor` and `command`, eliminating the need for JavaScript handlers. It covers built-in commands, custom commands, and mentions a polyfill for browser compatibility.
Comments
No comments yet
Be the first to share your thoughts!
Browser Extension
Get instant access to AllDevBlogs from your browser
Top of the Week
No top articles yet