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 | No support | No support | (Yes) | (Yes) |
Removed | 57 | 44 |
Feature | Android Webview | Chrome for Android | Edge | Firefox Mobile (Gecko) | IE Mobile | Opera Mobile | Safari Mobile |
---|---|---|---|---|---|---|---|
Basic support | (Yes) | (Yes) | No support | No support | No support | (Yes) | ? |
Removed | 57 | 57 | 44 |
© 2005–2018 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