Skip to content

MouseCursorStyle

Type class

Defines static methods that hold style list for various mouse cursor styles, maintaining browser compatibility.

Sources

MouseCursorStyle can be used (imported) via one of the following packages.

/**
* Import from: "core.ts"
* Use like: am4core.MouseCursorStyle
*/
import * as am4core from "@amcharts/amcharts4/core";

Inheritance

MouseCursorStyle does not extend any other symbol.

MouseCursorStyle is not extended by any other symbol.

Properties

default

StaticType Array <IStyleProperty>Default [ { "property": "cursor", "value": "default" } ]

Styles for default mouse cursor. (browser determines style)

grab

StaticType Array <IStyleProperty>Default [ { "property": "cursor", "value": "move" }, { "property": "cursor", "value": "grab" }, { "property": "cursor", "value": "-webkit-grab" } ]

Styles for "grab" mouse cursor.

grabbing

StaticType Array <IStyleProperty>Default [ { "property": "cursor", "value": "move" }, { "property": "cursor", "value": "grabbing" }, { "property": "cursor", "value": "-webkit-grabbing" } ]

Styles for "grabbing" mouse cursor.

horizontalResize

StaticType Array <IStyleProperty>Default [ { "property": "cursor", "value": "ew-resize" } ]

Styles for horizontal bi-directional resize mouse cursor.

notAllowed

StaticType Array <IStyleProperty>Default [ { "property": "cursor", "value": "not-allowed" } ]Since 4.7.15

Styles for "no-allowed" cursor.

pointer

StaticType Array <IStyleProperty>Default [ { "property": "cursor", "value": "pointer" } ]

Styles for "pointer" mouse cursor. (usually used for links)

text

StaticType Array <IStyleProperty>Default [ { "property": "cursor", "value": "text" } ]Since 4.9.12

Styles for "text" cursor.

verticalResize

StaticType Array <IStyleProperty>Default [ { "property": "cursor", "value": "ns-resize" } ]

Styles for vertical bi-directional mouse cursor.

Methods

MouseCursorStyle does not have any methods.

Events

MouseCursorStyle does not have any events.