Vendor-prefixed transform style name.
Vendor-prefixed transition style name (e.g. 'webkitTransition' for WebKit).
Adds name to the element's class attribute.
Creates an element with tagName, sets the className, and optionally appends it to container element.
HTMLElement
Makes sure text cannot be selected, for example during dragging.
Makes text selection possible again.
Returns an element with the given id if a string was passed, or just returns the element if it was passed directly.
HTMLElement
Returns the coordinates of an element previously positioned with setPosition.
Returns a CSS transform string to scale an element (with the given scale origin).
string
Returns the value for a certain style attribute on an element, including computed values or values set through CSS.
string
Returns a CSS transform string to move an element by the offset provided in the given point. Uses 3D translate on WebKit for hardware-accelerated transforms and 2D on other browsers.
string
Returns the offset to the viewport for the requested element.
Returns true if the element class attribute contains name.
boolean
Removes name from the element's class attribute.
Set the opacity of an element (including old IE support). Value must be from 0 to 1.
Sets the position of an element to coordinates specified by point, using CSS translate or top/left positioning depending on the browser (used by Leaflet internally to position its layers). Forces top/left positioning if disable3D is true.
Goes through the array of style names and returns the first name that is a valid style name for an element. If no such name is found, it returns false. Useful for vendor-prefixed styles like transform.
any