WICG / EventListenerOptions

An extension to the DOM event pattern to allow authors to disable support for preventDefault
Other
1.17k stars 140 forks source link

Having a tri-state requireCancelable is overly complex #9

Closed RByers closed 9 years ago

RByers commented 9 years ago

As issue #7, #5 and #4 make clear, having 3 options for requireCancelable is pretty complicated. Perhaps we can simplify this into a simple boolean 'mayCancel' that indicates only whether or not the handler might call preventDefault.

RByers commented 9 years ago

This seems a lot simpler to me.