class method document.fire
document.fire(eventName[, memo[, bubble = true]]) → Event
?) – Metadata for the event. Will be accessible through the event's
Boolean) – Whether the event will bubble.
Fires a custom event of name
document as the target.
document.fire is the document-wide version of
Custom events must include a colon (
:) in their names.