Edit this page

up.event up.event.halt(event)
JavaScript function

Prevents the event from being processed further.

In detail:

  • It prevents the event from bubbling up the DOM tree.
  • It prevents other event handlers bound on the same element.
  • It prevents the event's default action.

Example

up.on('click', 'link.disabled', function(event) {
  up.event.halt(event)
})

Parameters

event Event