Bug Tracker

Changes between Initial Version and Version 1 of Ticket #873


Ignore:
Timestamp:
Mar 24, 2007, 2:22:57 PM (16 years ago)
Author:
john
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #873

    • Property Need changed from to Test Case
    • Property Summary changed from A triggered event can't be canceled with .preventDefault() to Re-work Triggered Events
  • Ticket #873 – Description

    initial v1  
    1 Currently, it can only be canceled using return false - it should work both ways.
     1This is how event triggering should be re-worked:
     2
     3.trigger("event"):
     4 * Should be cancellable.
     5 * Should only trigger bound event handlers.
     6
     7.triggerAction("event")
     8 * Should trigger default browser action
     9 * Should not be cancellable
     10 * Should not allow clicking on links in IE
     11 * If no action exists, call trigger("event")
     12
     13.click()
     14 * Should use triggerAction