Bug Tracker

Opened 9 years ago

Last modified 9 years ago

#8789 closed enhancement

Meta: Event Property Hooks — at Version 1

Reported by: Rick Waldron Owned by:
Priority: blocker Milestone: 1.7
Component: event Version: 1.5.2
Keywords: Cc:
Blocked by: Blocking:

Description (last modified by Rick Waldron)

Implement the ability to specify properties of event.originalEvent to be moved over to event.* for specific event types, without the performance sacrifices of copying all event.originalEvent properties or adding to the globally used jQuery.event.props list

Will be particularly useful for newer events introduced by HTML5 JavaScript APIs that have special properties that are ignored by jQuery.event.fix() when it copies the jQuery.event.props array.


Drag/Drop API has "dataTranser", touch event props, messaging event props, Custom data properties

Ultimately, this will allow end devs to write less code and we can stop recommending the extension of jQuery.event.props

Change History (1)

comment:1 Changed 9 years ago by Rick Waldron

Description: modified (diff)
Note: See TracTickets for help on using tickets.