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) 1.1 (Second Edition)
The definition of 'SVGCursorElement' in that specification.
Recommendation Initial definition

Browser compatibility

DesktopMobile
ChromeEdgeFirefoxInternet ExplorerOperaSafariAndroid webviewChrome for AndroidFirefox for AndroidOpera for AndroidSafari on iOSSamsung Internet
SVGCursorElement
DeprecatedNon-standard
Chrome No support ? — 57Edge No support NoFirefox No support NoIE No support NoOpera No support ? — 44Safari Full support YesWebView Android No support ? — 57Chrome Android No support ? — 57Firefox Android No support NoOpera Android No support ? — 43Safari iOS Full support YesSamsung Internet Android No support ? — 7.0

Legend

Full support
Full support
No support
No support
Non-standard. Expect poor cross-browser support.
Non-standard. Expect poor cross-browser support.
Deprecated. Not for use in new websites.
Deprecated. Not for use in new websites.

See also