[scriptable, uuid(f9fa8205-a988-4828-9228-f3332d5475ac)]
interface nsIDOMXULCommandEvent : nsIDOMUIEvent
Attributes
readonly attribute
boolean
altKey
Command events support the same set of modifier keys as mouse and key events.
readonly attribute
boolean
ctrlKey
readonly attribute
boolean
metaKey
readonly attribute
boolean
shiftKey
If the command event was redispatched because of a command= attribute on the original target, sourceEvent will be set to the original DOM Event. Otherwise, sourceEvent is null.
readonly attribute
nsIDOMEvent
sourceEvent
Methods
Creates a new command event with the given attributes.
void
initCommandEvent(in DOMString typeArg, in boolean canBubbleArg, in boolean cancelableArg, in nsIDOMAbstractView viewArg, in long detailArg, in boolean ctrlKeyArg, in boolean altKeyArg, in boolean shiftKeyArg, in boolean metaKeyArg, in nsIDOMEvent sourceEvent)
Compare to: