Everything you need to know about Invoker Commands | London Web Standards
February 26, 2025
command and commandfor attributes are a brand new web platform feature coming in 2025. Here’s everything you need to know about them, plus some things you really don’t.
Source: Everything you need to know about Invoker Commands | London Web Standards
Invokers are something a lot of people have wanted in the Web platform for a long time–a way of declaratively triggering built-in behaviors without JavaScript.
For example, the <button popovertarget=”myPopover”> attribute opens a <div popover id=”myPopover”>, enabling native pop-ups without extra scripting.
Here Keith Cirkle goes into them in detail.
And keep an eye out for a fantastic talk on popovers coming up soon on Conffab