Class: Event

H.util.OList.Event

new H.util.OList.Event (list, type, idx, added, removed, moved)

The class represents an event dispatched by OList.

Name Type Description
list H.util.OList

The OList instance emitting the event

type H.util.OList.prototype.EventType

A value indicating the event type

idx number

The index of the affected list entry

added * nullable

The value of the entry which was added or set

removed * nullable

The value of the entry which was removed or replaced

moved * nullable

The value of the entry which was moved

Extends

Members

AT_TARGET number constant inherited

This property indicates that the event is being evaluated at the target.

BUBBLING_PHASE number constant inherited

This property identifies the current event phase as the bubbling phase.

CAPTURING_PHASE number constant inherited

This property identifies the current event phase as the capturing phase.

currentTarget * inherited

This property holds an object that receives notification of the event (via an attached listener).

defaultPrevented boolean inherited

This property holds a value indicating if preventDefault() was called on the current event.

eventPhase number inherited

This property indicates which phase of the event flow is being evaluated.

target * inherited

This property holds the object which triggered the event.

type string inherited

This property holds the name of the dispatched event.

Methods

preventDefault () inherited

This method sets a flag that can be used to prevent the default behavior when the even is fired.

stopPropagation () inherited

This method stops the propagation of the event.