cursor

scalatags.generic.Styles.cursor
object cursor extends Style

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

MDN

Attributes

Graph
Supertypes
class Style
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
cursor.type

Members list

Value members

Inherited methods

def :=[Builder, T](v: T)(implicit ev: StyleValue[Builder, T]): StylePair[Builder, T]

Creates an StylePair from an Style and a value of type T, if there is an StyleValue of the correct type.

Creates an StylePair from an Style and a value of type T, if there is an StyleValue of the correct type.

Attributes

Inherited from:
Style
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product

Concrete fields

lazy val alias: StylePair[Builder, String]

Indicating an alias or shortcut is to be created.

Indicating an alias or shortcut is to be created.

MDN

Attributes

lazy val all-scroll: StylePair[Builder, String]

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

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

MDN

Attributes

lazy val auto: StylePair[Builder, String]

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

Attributes

lazy val cell: StylePair[Builder, String]

Indicating that cells can be selected.

Indicating that cells can be selected.

MDN

Attributes

lazy val col-resize: StylePair[Builder, String]

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

Attributes

lazy val context-menu: StylePair[Builder, String]

A context menu is available under the cursor.

A context menu is available under the cursor.

MDN

Attributes

lazy val copy: StylePair[Builder, String]

Indicating that something can be copied

Indicating that something can be copied

MDN

Attributes

lazy val crosshair: StylePair[Builder, String]

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

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

MDN

Attributes

lazy val cssWait: StylePair[Builder, String]

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

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

MDN

Attributes

lazy val default: StylePair[Builder, String]

Default cursor, typically an arrow.

Default cursor, typically an arrow.

MDN

Attributes

lazy val e-resize: StylePair[Builder, String]

The right edge is to be moved.

The right edge is to be moved.

MDN

Attributes

lazy val ew-resize: StylePair[Builder, String]
lazy val grab: StylePair[Builder, String]

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

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

MDN

Attributes

lazy val grabbing: StylePair[Builder, String]

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

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

MDN

Attributes

lazy val help: StylePair[Builder, String]

Indicating help is available.

Indicating help is available.

MDN

Attributes

lazy val move: StylePair[Builder, String]

The hoevered object may be moved.

The hoevered object may be moved.

MDN

Attributes

lazy val n-resize: StylePair[Builder, String]

The top edge is to be moved.

The top edge is to be moved.

MDN

Attributes

lazy val ne-resize: StylePair[Builder, String]

The top-right corner is to be moved.

The top-right corner is to be moved.

MDN

Attributes

lazy val nesw-resize: StylePair[Builder, String]
lazy val no-drop: StylePair[Builder, String]

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

Attributes

lazy val none: StylePair[Builder, String]

No cursor is rendered.

No cursor is rendered.

MDN

Attributes

lazy val not-allowed: StylePair[Builder, String]

Cursor showing that something cannot be done.

Cursor showing that something cannot be done.

MDN

Attributes

lazy val ns-resize: StylePair[Builder, String]
lazy val nw-resize: StylePair[Builder, String]

The top-left corner is to be moved.

The top-left corner is to be moved.

MDN

Attributes

lazy val nwse-resize: StylePair[Builder, String]
lazy val pointer: StylePair[Builder, String]

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

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

MDN

Attributes

lazy val progress: StylePair[Builder, String]

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

Attributes

lazy val row-resize: StylePair[Builder, String]

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

Attributes

lazy val s-resize: StylePair[Builder, String]

The bottom edge is to be moved.

The bottom edge is to be moved.

MDN

Attributes

lazy val se-resize: StylePair[Builder, String]

The bottom-right corner is to be moved.

The bottom-right corner is to be moved.

MDN

Attributes

lazy val sw-resize: StylePair[Builder, String]

The bottom-left corner is to be moved.

The bottom-left corner is to be moved.

MDN

Attributes

lazy val text: StylePair[Builder, String]

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

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

MDN

Attributes

lazy val vertical-text: StylePair[Builder, String]

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

Attributes

lazy val w-resize: StylePair[Builder, String]

The left edge is to be moved.

The left edge is to be moved.

MDN

Attributes

lazy val zoom-in: StylePair[Builder, String]

Indicates that something can be zoomed (magnified) in.

Indicates that something can be zoomed (magnified) in.

MDN

Attributes

lazy val zoom-out: StylePair[Builder, String]

Indicates that something can be zoomed (magnified) out.

Indicates that something can be zoomed (magnified) out.

MDN

Attributes