cursor

object cursor extends TypedAttrBase

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

See also

<a href="https://developer.mozilla.org/en-US/docs/Web/CSS/cursor">MDN</a>

class Object
trait Matchable
class Any

Value members

Concrete methods

def alias: AV

Indicating an alias or shortcut is to be created.

Indicating an alias or shortcut is to be created.

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

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

def auto: AV

The browser determines the cursor to display based on the current context.

The browser determines the cursor to display based on the current context.

def cell: AV

Indicating that cells can be selected.

Indicating that cells can be selected.

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

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

A context menu is available under the cursor. Only IE 10 and up have implemented this on Windows

A context menu is available under the cursor. Only IE 10 and up have implemented this on Windows

def copy: AV

Indicating that something can be copied.

Indicating that something can be copied.

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

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

def default: AV

Default cursor, typically an arrow.

Default cursor, typically an arrow.

def eResize: AV

The east edge is to be moved.

The east edge is to be moved.

def ewResize: AV

Indicates a bidirectional resize cursor.

Indicates a bidirectional resize cursor.

def grab: AV

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

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

def grabbing: AV

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

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

def help: AV

Indicating help is available.

Indicating help is available.

def move: AV

The hovered object may be moved.

The hovered object may be moved.

def nResize: AV

The north edge is to be moved.

The north edge is to be moved.

def neResize: AV

The north-east edge is to be moved.

The north-east edge is to be moved.

Indicates a bidirectional resize cursor.

Indicates a bidirectional resize cursor.

def noDrop: AV

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

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

def none: AV

No cursor is rendered.

No cursor is rendered.

Cursor showing that something cannot be done.

Cursor showing that something cannot be done.

def nsResize: AV

Indicates a bidirectional resize cursor.

Indicates a bidirectional resize cursor.

def nwResize: AV

The north-west edge is to be moved.

The north-west edge is to be moved.

Indicates a bidirectional resize cursor.

Indicates a bidirectional resize cursor.

def pointer: AV

Used when hovering over links, typically a hand.

Used when hovering over links, typically a hand.

def progress: AV

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

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.

def sResize: AV

The south edge is to be moved.

The south edge is to be moved.

def seResize: AV

The south-east edge is to be moved.

The south-east edge is to be moved.

def swResize: AV

The south-west edge is to be moved.

The south-west edge is to be moved.

def text: AV

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

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

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

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

def wResize: AV

The west edge is to be moved.

The west edge is to be moved.

def wait_: AV

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

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

def zoomIn: AV

Indicates that something can be zoomed (magnified) in.

Indicates that something can be zoomed (magnified) in.

def zoomOut: AV

Indicates that something can be zoomed (magnified) out.

Indicates that something can be zoomed (magnified) out.

Inherited methods

def inherit: AV

The inherit CSS-value causes the element for which it is specified to take the computed value of the property from its parent element. It is allowed on every CSS property.

The inherit CSS-value causes the element for which it is specified to take the computed value of the property from its parent element. It is allowed on every CSS property.

For inherited properties, this reinforces the default behavior, and is only needed to override another rule. For non-inherited properties, this specifies a behavior that typically makes relatively little sense and you may consider using initial instead, or unset on the all property.

Inherited from
TypedAttrBase
def initial: AV

The initial CSS keyword applies the initial value of a property to an element. It is allowed on every CSS property and causes the element for which it is specified to use the initial value of the property.

The initial CSS keyword applies the initial value of a property to an element. It is allowed on every CSS property and causes the element for which it is specified to use the initial value of the property.

Inherited from
TypedAttrBase
override def toString: String
Definition Classes
Inherited from
TypedAttrBase
def unset: AV

The unset CSS keyword is the combination of the initial and inherit keywords. Like these two other CSS-wide keywords, it can be applied to any CSS property, including the CSS shorthand all. This keyword resets the property to its inherited value if it inherits from its parent or to its initial value if not. In other words, it behaves like the inherit keyword in the first case and like the initial keyword in the second case.

The unset CSS keyword is the combination of the initial and inherit keywords. Like these two other CSS-wide keywords, it can be applied to any CSS property, including the CSS shorthand all. This keyword resets the property to its inherited value if it inherits from its parent or to its initial value if not. In other words, it behaves like the inherit keyword in the first case and like the initial keyword in the second case.

Inherited from
TypedAttrBase

Concrete fields

override val attr: Attr