EventObject

EventObject for custom events

Properties

  • srcEvent {EventObject|HTMLEvent}
    Source event for the current event
  • type {String}
    Type of the event

Methods

  • preventDefault()
    Cancels the event if it is cancelable, without stopping further propagation of the event.
    See:
    https://developer.mozilla.org/en-US/docs/DOM/event.preventDefault//developer.mozilla.org/en-US/docs/DOM/event.preventDefault
  • stopPropagation()
    Prevents further propagation of the current event.
    See:
    https://developer.mozilla.org/en-US/docs/DOM/event.stopPropagation//developer.mozilla.org/en-US/docs/DOM/event.stopPropagation