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";

/**
 * --------------------------------------------------------
 * Include via: <script src="core.js"></script>
 * Access items like: am4.MouseCursorStyle
 * --------------------------------------------------------
 */

Inheritance

MouseCursorStyle does not extend any other symbol.

MouseCursorStyle is not extended by any other symbol.

Properties

default
#

Static

Type Array < IStyleProperty >

Default [{
  
"property": "cursor",
  
"value": "default"

}]

Styles for default mouse cursor. (browser determines style)

grab
#

Static

Type Array < IStyleProperty >

Default [{
  
"property": "cursor",
  
"value": "move"

}, {
  
"property": "cursor",
  
"value": "grab"

}, {
  
"property": "cursor",
  
"value": "-webkit-grab"

}]

Styles for "grab" mouse cursor.

grabbing
#

Static

Type Array < IStyleProperty >

Default [{
  
"property": "cursor",
  
"value": "move"

}, {
  
"property": "cursor",
  
"value": "grabbing"

}, {
  
"property": "cursor",
  
"value": "-webkit-grabbing"

}]

Styles for "grabbing" mouse cursor.

horizontalResize
#

Static

Type Array < IStyleProperty >

Default [{
  
"property": "cursor",
  
"value": "ew-resize"

}]

Styles for horizontal bi-directional resize mouse cursor.

notAllowed
#

Static

Type Array < IStyleProperty >

Default [{
  
"property": "cursor",
  
"value": "not-allowed"

}]

Styles for "no-allowed" cursor.

@since 4.7.15

pointer
#

Static

Type Array < IStyleProperty >

Default [{
  
"property": "cursor",
  
"value": "pointer"

}]

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

text
#

Static

Type Array < IStyleProperty >

Default [{
  
"property": "cursor",
  
"value": "text"

}]

Styles for "text" cursor.

@since 4.9.12

verticalResize
#

Static

Type 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.

Adapters

MouseCursorStyle does not have any adapters.