The SVGCursorElement
interface provides access to the properties of <cursor>
elements, as well as methods to manipulate them.
This interface also inherits properties from its parent, SVGElement
, and implements properties from SVGURIReference
.
SVGCursorElement.x
Read only
SVGAnimatedLength
corresponding to the x
attribute of the given <cursor>
element.SVGCursorElement.y
Read only
SVGAnimatedLength
corresponding to the y
attribute of the given <cursor>
element.This interface doesn't implement any specific methods, but inherits methods from its parent, SVGElement
.
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 |
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 | ? | ? |
© 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