An event.
Properties
| Property | Type | Access | Description |
|---|---|---|---|
| bubbles | bool | readonly | If true, the Event supports the bubbling phase of propagation. |
| cancelable | bool | readonly | If true, the default behavior of the Event on its target can be canceled. |
| captures | bool | readonly | If true, the Event supports the capturing phase of propagation. |
| currentTarget | Object | readonly | The current propagation target of the Event. |
| defaultPrevented | bool | readonly | If true, the default behavior of the Event on its target has been canceled. |
| eventPhase | EventPhases : NOT_DISPATCHING CAPTURING_PHASE AT_TARGET BUBBLING_PHASE DONE |
readonly | The current propagation phase of the Event. |
| eventType | string | readonly | The name of the event. |
| id | number | readonly | The unique ID of the Event. |
| index | number | readonly | The index of the Event within its containing object. |
| parent | any | readonly | The parent of the Event (a Document, Application, MenuAction, ScriptMenuAction, Menu or Submenu). |
| propagationStopped | bool | readonly | If true, propagation of the Event beyond the current target has been stopped. |
| properties | Object | r/w | A property that allows setting of several properties at the same time. |
| target | Object | readonly | The target of the Event. |
| timeStamp | Date | readonly | The time the Event was initialized. |
Methods
Array of EventgetElements ()
Resolves the object specifier, creating an array of object references.
void preventDefault ()
Cancels the default behavior of the Event on its target.
void stopPropagation ()
Stops propagation of the Event beyond the current target.
string toSource ()
Generates a string which, if executed, will return the Event.
string toSpecifier ()
Retrieves the object specifier.
Used in:
Events.previousItem (
obj:
Event )
Events.nextItem (
obj:
Event )
Returned by:
Array of Event Event .getElements (
)
Event Events.anyItem (
)
Array of Event Events.everyItem (
)
Event Events.firstItem (
)
Event Events.item (
index:
any
)
Event Events.itemByID (
id:
number
)
Event Events.itemByName (
name:
string
)
Array of Event Events.itemByRange (
from:
any, to:
any
)
Event Events.lastItem (
)
Event Events.middleItem (
)
Event Events.nextItem (
obj:
Event
)
Event Events.previousItem (
obj:
Event
)