Version 3.17.2
Show:

EventFacade Class

Wraps and protects a custom event for use when emitFacade is set to true. Requires the event-custom-complex module

Methods

halt

(
  • immediate
)

Stops the event propagation and prevents the default event behavior.

Parameters:

  • immediate Boolean

    if true additional listeners on the current target will not be executed

preventDefault

()

Prevents the event's default behavior

stopImmediatePropagation

()

Stops the propagation to the next bubble target and prevents any additional listeners from being exectued on the current target.

stopPropagation

()

Stops the propagation to the next bubble target

Properties

_type

String private

The real event type

currentTarget

Node

Node reference for the element that the listener was attached to.

details

Array

The arguments passed to fire

relatedTarget

Node

Node reference to the relatedTarget

target

Node

Node reference for the targeted eventtarget

type

String

The event type, this can be overridden by the fire() payload