BasicsIdleEvent

An idle event.

Extends

Static Properties

Name Description
ON_IDLE = "onIdle" string Dispatched at idle time for this IdleEvent. This event does not bubble. This event is not cancelable.

Instance Properties

Name Description Access
bubbles bool If true, the event supports the bubbling phase of propagation. read-only
cancelable bool If true, the default behavior of the event on its target can be canceled. read-only
currentTarget Object The current propagation target of the event. read-only
defaultPrevented bool If true, the default behavior of the event on its target has been canceled. read-only
eventPhase EventPhases The current propagation phase of the event. read-only
eventType string The name of the event. read-only
id number The unique ID of the IdleEvent. read-only
index number The index of the IdleEvent within its containing object. read-only
isValid bool Returns true if the object specifier resolves to valid objects. read-only
parent IdleTask The parent of the IdleEvent (a IdleTask). read-only
propagationStopped bool If true, propagation of the event beyond the current target has been stopped. read-only
properties Object A property that allows setting of several properties at the same time. read-write
target Object The target of the event. read-only
timeAllocated number Amount of time allocated to this task at the time the event was dispatched. read-only
timeStamp Date The time the event was initialized. read-only

Methods

toSource(
)
 → string
toSpecifier(
)
 → string
getElements(
)
 → IdleEvent
Resolves the object specifier, creating an array of object references.
preventDefault(
)
Cancels the default behavior of the event on its target.
stopPropagation(
)
Stops propagation of the event beyond the current target.
toSource(
)
 → string
Generates a string which, if executed, will return the IdleEvent.
toSpecifier(
)
 → string
Retrieves the object specifier.