XopusEvent

This page describes a basic event in Xopus. It is not an event in itself.


XopusEvent object

Properties

bubbles Boolean
Will prevent bubbling up the DOM hierarchy when set to false. (Deprecated)
cancelEvent Boolean
Will prevent the default action when set to true. (Deprecated)
target XopusNode
Node that originally dispatched the event.
type string
Name of the event.

methods

XopusEvent.preventDefault()
XopusEvent.stopPropagation()

History

version event
Xopus 4.2 Change. cancelEvent is deprecated, throw Editor.RevertingException instead.
Xopus 4 Change. Added the preventDefault() and stopPropagation() methods to events.
Xopus 4 Change. The cancelEvent and bubbles event properties are deprecated.
Xopus 3 Introduction.