monks/cursor

The cursor CSS property sets the mouse cursor, if any, to show when the mouse pointer is over an element.

The cursor setting should inform users of the mouse operations that can be performed at the current location, including: text selection, activating help or context menus, copying content, resizing tables, and so on. You can specify either the type of cursor using a keyword, or load a specific icon to use (with optional fallback images and mandatory keyword as a final fallback).

Values

pub const alias: #(String, String)

alias value of cursor

pub const all_scroll: #(String, String)

all-scroll value of cursor

pub const auto_: #(String, String)

auto value of cursor

pub const cell: #(String, String)

cell value of cursor

pub const col_resize: #(String, String)

col-resize value of cursor

pub const context_menu: #(String, String)

context-menu value of cursor

pub const copy: #(String, String)

copy value of cursor

pub const crosshair: #(String, String)

crosshair value of cursor

pub const default: #(String, String)

default value of cursor

pub const e_resize: #(String, String)

e-resize value of cursor

pub const ew_resize: #(String, String)

ew-resize value of cursor

pub const grab: #(String, String)

grab value of cursor

pub const grabbing: #(String, String)

grabbing value of cursor

pub const hand: #(String, String)

hand value of cursor

pub const help: #(String, String)

help value of cursor

pub const inherit: #(String, String)
pub const initial: #(String, String)
pub const move: #(String, String)

move value of cursor

pub const n_resize: #(String, String)

n-resize value of cursor

pub const ne_resize: #(String, String)

ne-resize value of cursor

pub const nesw_resize: #(String, String)

nesw-resize value of cursor

pub const no_drop: #(String, String)

no-drop value of cursor

pub const none: #(String, String)

none value of cursor

pub const not_allowed: #(String, String)

not-allowed value of cursor

pub const ns_resize: #(String, String)

ns-resize value of cursor

pub const nw_resize: #(String, String)

nw-resize value of cursor

pub const nwse_resize: #(String, String)

nwse-resize value of cursor

pub const pointer: #(String, String)

pointer value of cursor

pub const progress: #(String, String)

progress value of cursor

pub fn raw(value: String) -> #(String, String)

Enter a raw string value for cursor

pub const revert: #(String, String)
pub const revert_layer: #(String, String)
pub const row_resize: #(String, String)

row-resize value of cursor

pub const s_resize: #(String, String)

s-resize value of cursor

pub const se_resize: #(String, String)

se-resize value of cursor

pub const sw_resize: #(String, String)

sw-resize value of cursor

pub const text: #(String, String)

text value of cursor

pub const unset: #(String, String)
pub fn var(variable: String) -> #(String, String)

Enter a variable name to be used for cursor. It will be wrapped in var() and have -- prepended.

pub const vertical_text: #(String, String)

vertical-text value of cursor

pub const w_resize: #(String, String)

w-resize value of cursor

pub const wait: #(String, String)

wait value of cursor

pub const zoom_in: #(String, String)

zoom-in value of cursor

pub const zoom_out: #(String, String)

zoom-out value of cursor

Search Document