cursor

object cursor extends Style[String]

The cursor CSS property specifies the mouse cursor displayed when the mouse pointer is over an element.

The cursor CSS property specifies the mouse cursor displayed when the mouse pointer is over an element.

MDN

class Style[String]
class Key
class Object
trait Matchable
class Any

Value members

Concrete fields

lazy val alias: StyleSetter

Indicating an alias or shortcut is to be created.

Indicating an alias or shortcut is to be created.

MDN

lazy val allScroll: StyleSetter

Cursor showing that something can be scrolled in any direction (panned).

Cursor showing that something can be scrolled in any direction (panned).

MDN

lazy val auto: StyleSetter

The browser determines the cursor to display based on the current context. E.g. equivalent to text when hovering text.

The browser determines the cursor to display based on the current context. E.g. equivalent to text when hovering text.

MDN

lazy val cell: StyleSetter

Indicating that cells can be selected.

Indicating that cells can be selected.

MDN

lazy val colResize: StyleSetter

The item/column can be resized horizontally. Often rendered as arrows pointing left and right with a vertical separating.

The item/column can be resized horizontally. Often rendered as arrows pointing left and right with a vertical separating.

MDN

lazy val contextMenu: StyleSetter

A context menu is available under the cursor.

A context menu is available under the cursor.

MDN

lazy val copy: StyleSetter

Indicating that something can be copied

Indicating that something can be copied

MDN

lazy val crosshair: StyleSetter

Cross cursor, often used to indicate selection in a bitmap.

Cross cursor, often used to indicate selection in a bitmap.

MDN

lazy val cssWait: StyleSetter

The program is busy (sometimes an hourglass or a watch).

The program is busy (sometimes an hourglass or a watch).

MDN

lazy val default: StyleSetter

Default cursor, typically an arrow.

Default cursor, typically an arrow.

MDN

lazy val eResize: StyleSetter

The right edge is to be moved.

The right edge is to be moved.

MDN

lazy val ewResize: StyleSetter
lazy val grab: StyleSetter

Indicates that something can be grabbed (dragged to be moved).

Indicates that something can be grabbed (dragged to be moved).

MDN

lazy val grabbing: StyleSetter

Indicates that something can be grabbed (dragged to be moved).

Indicates that something can be grabbed (dragged to be moved).

MDN

lazy val help: StyleSetter

Indicating help is available.

Indicating help is available.

MDN

lazy val move: StyleSetter

The hoevered object may be moved.

The hoevered object may be moved.

MDN

lazy val nResize: StyleSetter

The top edge is to be moved.

The top edge is to be moved.

MDN

lazy val neResize: StyleSetter

The top-right corner is to be moved.

The top-right corner is to be moved.

MDN

lazy val neswResize: StyleSetter
lazy val noDrop: StyleSetter

Cursor showing that a drop is not allowed at the current location.

Cursor showing that a drop is not allowed at the current location.

MDN

lazy val none: StyleSetter

No cursor is rendered.

No cursor is rendered.

MDN

lazy val notAllowed: StyleSetter

Cursor showing that something cannot be done.

Cursor showing that something cannot be done.

MDN

lazy val nsResize: StyleSetter
lazy val nwResize: StyleSetter

The top-left corner is to be moved.

The top-left corner is to be moved.

MDN

lazy val nwseResize: StyleSetter
lazy val pointer: StyleSetter

E.g. used when hovering over links, typically a hand.

E.g. used when hovering over links, typically a hand.

MDN

lazy val progress: StyleSetter

The program is busy in the background but the user can still interact with the interface (unlike for wait).

The program is busy in the background but the user can still interact with the interface (unlike for wait).

MDN

lazy val rowResize: StyleSetter

The item/row can be resized vertically. Often rendered as arrows pointing up and down with a horizontal bar separating them.

The item/row can be resized vertically. Often rendered as arrows pointing up and down with a horizontal bar separating them.

MDN

lazy val sResize: StyleSetter

The bottom edge is to be moved.

The bottom edge is to be moved.

MDN

lazy val seResize: StyleSetter

The bottom-right corner is to be moved.

The bottom-right corner is to be moved.

MDN

lazy val swResize: StyleSetter

The bottom-left corner is to be moved.

The bottom-left corner is to be moved.

MDN

lazy val text: StyleSetter

Indicating text can be selected, typically an I-beam.

Indicating text can be selected, typically an I-beam.

MDN

lazy val verticalText: StyleSetter

Indicating that vertical text can be selected, typically a sideways I-beam

Indicating that vertical text can be selected, typically a sideways I-beam

MDN

lazy val wResize: StyleSetter

The left edge is to be moved.

The left edge is to be moved.

MDN

lazy val zoomIn: StyleSetter

Indicates that something can be zoomed (magnified) in.

Indicates that something can be zoomed (magnified) in.

MDN

lazy val zoomOut: StyleSetter

Indicates that something can be zoomed (magnified) out.

Indicates that something can be zoomed (magnified) out.

MDN

Inherited fields

override val name: String
Inherited from
Style