Class Simples.Event
Defined in: events.js.
Constructor Attributes | Constructor Name and Description |
---|---|
Simples.Event(the)
the event constructor to provide unified event object support
|
Method Attributes | Method Name and Description |
---|---|
used to determine wherther the event has had preventDefault called
|
|
used to determine wherther the event has had stopImmediatePropagation called
|
|
used to determine wherther the event has had stopPropagation called
|
|
used to prevent the browser from performing its default action
|
|
used to stop the event bubbling up and any other event callbacks from being triggered on the current element
|
|
used to stop the event from continuing its bubbling
|
Class Detail
Simples.Event(the)
the event constructor to provide unified event object support
- Parameters:
- {String|Event} the
- name or event to coerce into a Simples.Event to bridge the differences between implementations
Method Detail
isDefaultPrevented()
used to determine wherther the event has had preventDefault called
isImmediatePropagationStopped()
used to determine wherther the event has had stopImmediatePropagation called
isPropagationStopped()
used to determine wherther the event has had stopPropagation called
preventDefault()
used to prevent the browser from performing its default action
stopImmediatePropagation()
used to stop the event bubbling up and any other event callbacks from being triggered on the current element
stopPropagation()
used to stop the event from continuing its bubbling