Skip to content

Invoker API #1007

@stof

Description

@stof

Description

The Invoker API (the command and commandfor HTML attributes) allows to trigger commands (opening a dialog, showing a popover, etc...) using a <button> in a declarative way.

It is shipped in Chromium-based browsers but not yet in Firefox and Safari

Specification

https://html.spec.whatwg.org/multipage/form-elements.html#dom-button-command

web-feature

invoker-commands

Test Links

html/semantics/the-button-element/command-and-commandfor
html/semantics/popovers/popover-light-dismiss-command

Additional Signals

mozilla/standards-positions#902
WebKit/standards-positions#264

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions