Bug Tracker

Opened 15 years ago

Last modified 15 years ago

#873 closed bug

Re-work Triggered Events — at Version 1

Reported by: john Owned by:
Priority: major Milestone: 1.2
Component: event Version: 1.1.4
Keywords: Cc:
Blocked by: Blocking:

Description (last modified by john)

This is how event triggering should be re-worked:

.trigger("event"):

  • Should be cancellable.
  • Should only trigger bound event handlers.

.triggerAction("event")

  • Should trigger default browser action
  • Should not be cancellable
  • Should not allow clicking on links in IE
  • If no action exists, call trigger("event")

.click()

  • Should use triggerAction

Change History (1)

comment:1 Changed 15 years ago by john

Description: modified (diff)
need: Test Case
Summary: A triggered event can't be canceled with .preventDefault()Re-work Triggered Events
Note: See TracTickets for help on using tickets.