Skip to end of metadata
Go to start of metadata

This function cancels an event and prevents it from bubbling up.

Parameters:

  • event – reference to the event to cancel

Example:

The following can be used on the onkeydown event to restrict which keys can be pressed. 

Labels
  • No labels