Class
An idle event. Base Class: Event
getElements, preventDefault, stopPropagation, toSource, toSpecifier
IdleEvent
QuickLinks
Hierarchy
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. |
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: EventPhases.NOT_DISPATCHING EventPhases.AT_TARGET EventPhases.BUBBLING_PHASE EventPhases.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 IdleEvent. |
index | number | readonly | The index of the IdleEvent within its containing object. |
isValid | bool | readonly | Returns true if the object specifier resolves to valid objects. |
parent | IdleTask | readonly | The parent of the IdleEvent (a IdleTask). |
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. |
timeAllocated | number | readonly | Amount of time allocated to this task at the time the event was dispatched. |
timeStamp | Date | readonly | The time the event was initialized. |
Class
Property | Type | Access | Description |
---|---|---|---|
ON_IDLE | string | readonly | Dispatched at idle time for this IdleEvent. This event does not bubble. This event is not cancelable. (default: onIdle) |
Methods
Instances
Array of IdleEvent getElements ()
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 IdleEvent.
Return
Array of IdleEvent IdleEvent.getElements ()
Jongware, 28-Apr-2012 v3.0.3h | Contents :: Index |