Skip to main content
XUL:Attribute:events
From MDC
« XUL Reference home
- events
- Type: comma-separated list
- A comma-separated list of event names that the command updater will update upon. If this attribute is not specified, or you set it to the value '*', all events are valid. Valid events are listed below, or you can use your own events. You can send a custom event by calling the UpdateCommands method of the command dispatcher.
-
focus: Occurs when the focused element changes.
-
select: Occurs when the selected text changed.
-
clipboard: Occurs when the clipboard is changed.
-
undo: Occurs when the undo buffer is changed.