True if the browser supports the EventTarget.addEventListener() method
True if the browser supports the HTML5 canvas element
True if the browser supports the EventTarget.removeEventListener() method
Returns the property with the correct vendor prefix appended.
the property name
the property with the correct prefix or null if not supported.
Gets the position of the mouse on the screen for a given event.
Test whether the submitted canvas is tainted or not.
True if the canvas is tainted.
Helper for making Elements with attributes
new Element tag name
list or name of CSS classname(s)
any attributes
Creates specified element with specified attributes
Type of an element to create
Newly created element
Remove the specified CSS class from the element.
element id
let supportsSlider = supportsInputOfType('range'); let supportsColorpicker = supportsInputOfType('color');
Wraps element with another element
Element to wrap
Element to wrap with
wrapper
A ratio comparing the device screen's pixel density to the canvas's backing store pixel density, clamped to a minimum of 1. Defaults to 1 if canvas isn't supported by the browser.
{Number} pixelDensityRatio
OpenSeadragon