W3cubDocs

/DOM

SVGCursorElement

The SVGCursorElement interface provides access to the properties of <cursor> elements, as well as methods to manipulate them.

Properties

This interface also inherits properties from its parent, SVGElement, and implements properties from SVGURIReference.

SVGCursorElement.x Read only
An SVGAnimatedLength corresponding to the x attribute of the given <cursor> element.
SVGCursorElement.y Read only
An SVGAnimatedLength corresponding to the y attribute of the given <cursor> element.

Methods

This interface doesn't implement any specific methods, but inherits methods from its parent, SVGElement.

Specifications

Specification Status Comment
Scalable Vector Graphics (SVG) 2
The definition of 'SVGCursorElement' in that specification.
Candidate Recommendation Removed the inheritance from SVGTests, SVGExternalResourcesRequired
Scalable Vector Graphics (SVG) 1.1 (Second Edition)
The definition of 'SVGCursorElement' in that specification.
Recommendation Initial definition

Browser compatibility

Feature Chrome Edge Firefox (Gecko) Internet Explorer Opera Safari (WebKit)
Basic support (Yes)
No support 57
No support No support No support (Yes) (Yes)
Feature Android Edge Firefox Mobile (Gecko) IE Mobile Opera Mobile Safari Mobile
Basic support ? No support No support No support ? ?

See also

© 2005–2017 Mozilla Developer Network and individual contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/SVGCursorElement