Skip to content

Truly independent web browser

388 B
Raw Blame
// https://html.spec.whatwg.org/multipage/interaction.html#commandevent
[Exposed=Window]
interface CommandEvent : Event {
    constructor(DOMString type, optional CommandEventInit eventInitDict = {});
    readonly attribute Element? source;
    readonly attribute DOMString command;
};

dictionary CommandEventInit : EventInit {
    Element? source = null;
    DOMString command = "";
};