This mask saves for which types of events, event.preventDefault should be called. This is useful to disallow some kinds of standard events like scrolling or clicking on links.
Time frame for events to be buffered (windowTime in rxjs per ReplaySubject).
Allow default event handling on specific event type (not calling preventDefault on the event).
Event types to allow default handling on.
Prevent default event handling on specific event type (using prevenDefault on the event).
Event types to prevent default handling on.
Checks whether or not to prevent the default handling of the given event. This depends on the internal
preventDefaultMask
which can be modified using preventDefault
function @see{@link prevenDefault}.
Internal event type of the incoming event.
Actual event to prevent default handling on (if masked).
HTML canvas element within the HTML5 document to register event listeners to.