TinyMCE:API/tinymce.dom.Event/cancel
From Moxiecode Documentation Wiki
Contents |
[edit]
Method: cancel
[edit]
Summary
Cancels an event for both bubbeling and the default browser behavior.
[edit]
Syntax
<bool> cancel(<Event> e)
[edit]
Parameters
- e
- Event object to cancel.
[edit]
Returns
Always false.
[edit]
Examples
// Cancels all mousedown events in the active editor
tinyMCE.activeEditor.onMouseDown.add(function(ed, e) {
return tinymce.dom.Event.cancel(e);
});
