SVG cursor DOM interface
The SVGCursorElement
interface provides access to the properties of {{ SVGElement("cursor") }} elements, as well as methods to manipulate them.
Interface overview
Also implement | {{ domxref("SVGElement") }}, {{ domxref("SVGURIReference") }}, {{ domxref("SVGTests") }}, {{ domxref("SVGExternalResourcesRequired") }} |
Methods | None |
Properties | - readonly {{ domxref("SVGAnimatedLength") }}
x - readonly {{ domxref("SVGAnimatedLength") }}
y |
Normative document | SVG 1.1 (2nd Edition) |
Properties
Name | Type | Description |
x | {{ domxref("SVGAnimatedLength") }} | Corresponds to attribute {{ SVGAttr("x") }} on the given {{ SVGElement("cursor") }} element. |
y | {{ domxref("SVGAnimatedLength") }} | Corresponds to attribute {{ SVGAttr("y") }} on the given {{ SVGElement("cursor") }} element. |
Methods
The SVGCursorElement
interface do not provide any specific methods.
Browser compatibility
{{ CompatibilityTable() }}
Feature | Chrome | Firefox (Gecko) | Internet Explorer | Opera | Safari (WebKit) |
Basic support | {{ CompatUnknown() }} | {{ CompatUnknown() }} | {{ CompatUnknown() }} | {{ CompatUnknown() }} | {{ CompatUnknown() }} |
Feature | Android | Firefox Mobile (Gecko) | IE Mobile | Opera Mobile | Safari Mobile |
Basic support | {{ CompatUnknown() }} | {{ CompatUnknown() }} | {{ CompatUnknown() }} | {{ CompatUnknown() }} | {{ CompatUnknown() }} |
See also
- {{ SVGElement("cursor") }} SVG Element