Specifies how to handle an event.

Hierarchy

  • EventAction

Properties

action: string

Identifier of action to dispatch.

originalEventIdentifier?: string
preventDefault?: boolean

Whether to call preventDefault() on the triggering event. Defaults to true. Additionally, if preventDefault() is called on the dispatched ActionEvent, preventDefault() will also be called on the triggering event regardless of the value of preventDefault.

stopPropagation?: boolean

Whether to call stopPropagation() on the triggering event. Defaults to true.

Generated using TypeDoc