DocumentEvent
A document event.
Go to Property Listing | Method Listing
Methods:
getElements, preventDefault, stopPropagation, toSource, toSpecifier
Objects:
Boolean, Date, EventPhases, File, Number, Object, String, UserInteractionLevels
Hierarchy:
Superclass: Event
Class: DocumentEvent
Property Listing
Property |
Type |
Access |
Description |
---|---|---|---|
readonly |
If true, the event supports the bubbling phase of propagation. |
||
readonly |
If true, the default behavior of the event on its target can be canceled. |
||
readonly |
The current propagation target of the event. |
||
readonly |
If true, the default behavior of the event on its target has been canceled. |
||
readonly |
The current propagation phase of the event. |
||
readonly |
The name of the event. |
||
readonly |
The full path to the DocumentEvent, including the name of the DocumentEvent. |
||
readonly |
The unique ID of the DocumentEvent. |
||
readonly |
The index of the DocumentEvent within its containing object. |
||
readonly |
Returns true if the object specifier resolves to valid objects. |
||
readonly |
The parent of the DocumentEvent (a Application or Document). |
||
readonly |
If true, propagation of the event beyond the current target has been stopped. |
||
read/write |
A property that allows setting of several properties at the same time. |
||
readonly |
The target of the event. |
||
readonly |
The time the event was initialized. |
||
read/write |
Controls the display of dialogs and alerts during script processing. |
Constants/Events
Name |
Type |
Access |
Description |
---|---|---|---|
readonly |
Dispatched after a Document is closed. This event bubbles. This event is not cancelable. |
||
readonly |
Dispatched after a Document is created. This event bubbles. This event is not cancelable. |
||
readonly |
Dispatched after a Document is opened. This event bubbles. This event is not cancelable. |
||
readonly |
Dispatched after a Document is reverted. This event bubbles. This event is not cancelable. |
||
readonly |
Dispatched after a Document is saved. This event bubbles. This event is not cancelable. |
||
readonly |
Dispatched after a Document is saved under a new name. This event bubbles. This event is not cancelable. |
||
readonly |
Dispatched after a copy of a Document is saved. This event bubbles. This event is not cancelable. |
||
readonly |
Dispatched before a Document is closed. This event bubbles. This event is not cancelable. |
||
readonly |
Dispatched before a Document is created. This event bubbles. This event is cancelable. |
||
readonly |
Dispatched before a Document is opened. This event bubbles. This event is cancelable. |
||
readonly |
Dispatched before a Document is reverted. This event bubbles. This event is cancelable. |
||
readonly |
Dispatched before a Document is saved. This event bubbles. This event is cancelable. |
||
readonly |
Dispatched before a Document is saved under a new name. This event bubbles. This event is cancelable. |
||
readonly |
Dispatched before a copy of a Document is saved. This event bubbles. This event is cancelable. |
Method Listing
DocumentEvent getElements ()
Resolves the object specifier, creating an array of object references.
undefined preventDefault ()
Cancels the default behavior of the event on its target.
undefined stopPropagation ()
Stops propagation of the event beyond the current target.
String toSource ()
Generates a string which, if executed, will return the DocumentEvent.
String toSpecifier ()
Retrieves the object specifier.
Object of
MutationEvent.parent