tinymce.Event

This is the base class for all TinyMCE events.

Summary

Properties

Name Type Summary Defined by

type

String

The event type name for example "click".

Event

Methods

Name Summary Defined by

isDefaultPrevented()

Returns true/false if the default action is to be prevented or not.

Event

isImmediatePropagationStopped()

Returns true/false if the event immediate propagation is stopped or not.

Event

isPropagationStopped()

Returns true/false if the event propagation is stopped or not.

Event

preventDefault()

Prevents the default action of an event to be executed.

Event

stopImmediatePropagation()

Prevents the event from propagating to listeners on the same object.

Event

stopPropagation()

Stops the event from propagating up to listeners on parent objects.

Event

Methods

isDefaultPrevented()

isDefaultPrevented(): Boolean

Returns true/false if the default action is to be prevented or not.

Return value

  • Boolean - True/false if the event is to be executed or not.


isImmediatePropagationStopped()

isImmediatePropagationStopped(): Boolean

Returns true/false if the event immediate propagation is stopped or not.

Return value

  • Boolean - True/false if the event immediate propagation is stopped or not.


isPropagationStopped()

isPropagationStopped(): Boolean

Returns true/false if the event propagation is stopped or not.

Return value

  • Boolean - True/false if the event propagation is stopped or not.


preventDefault()

preventDefault()

Prevents the default action of an event to be executed.


stopImmediatePropagation()

stopImmediatePropagation()

Prevents the event from propagating to listeners on the same object.


stopPropagation()

stopPropagation()

Stops the event from propagating up to listeners on parent objects.