Variable: CursorType (deprecated)#

const CursorType: object

The CSS cursor values for the standard Kit cursor shapes, as named in 6.7.0.

Type declaration#

Crosshair#

readonly Crosshair: CROSSHAIR = StreamCursorType.CROSSHAIR

Default#

readonly Default: DEFAULT = StreamCursorType.DEFAULT

HorizontalResize#

readonly HorizontalResize: EW_RESIZE = StreamCursorType.EW_RESIZE

Pointer#

readonly Pointer: POINTER = StreamCursorType.POINTER

Text#

readonly Text: TEXT = StreamCursorType.TEXT

VerticalResize#

readonly VerticalResize: NS_RESIZE = StreamCursorType.NS_RESIZE

Deprecated#

Removed in v7.0. Use StreamCursorType. Each member below is the StreamCursorType member with the same value: Default is DEFAULT, Text is TEXT, Pointer is POINTER, Crosshair is CROSSHAIR, HorizontalResize is EW_RESIZE and VerticalResize is NS_RESIZE. This object is kept so existing code keeps compiling and will not gain new members.

As a type, CursorType is the union of those six members, and CursorChange.cursor is still typed as it, so code written against it keeps compiling. The cursors added since (GRAB, GRABBING and ORBIT) are only reported in CursorChange.streamCursor.