Variable: CursorType (deprecated)#
constCursorType:object
The CSS cursor values for the standard Kit cursor shapes, as named in 6.7.0.
Type declaration#
Crosshair#
readonlyCrosshair:CROSSHAIR=StreamCursorType.CROSSHAIR
Default#
readonlyDefault:DEFAULT=StreamCursorType.DEFAULT
HorizontalResize#
readonlyHorizontalResize:EW_RESIZE=StreamCursorType.EW_RESIZE
Pointer#
readonlyPointer:POINTER=StreamCursorType.POINTER
Text#
readonlyText:TEXT=StreamCursorType.TEXT
VerticalResize#
readonlyVerticalResize: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.