FormElement.style.cursor

Property of FormElement.style

New in package 166

Syntax

control.style.cursor = "auto" | "default" | "all-scroll" | "move" | "col-resize" | "crosshair" | "hand" | "pointer" |
"help" | "no-drop" | "not-allowed" | "progress" | "row-resize" | "text" | "vertical-text" |
"wait" |
"n-resize" | "ne-resize" | "nw-resize" | "s-resize" | "se-resize" | "sw-resize" | "e-resize" | "w-resize" |
"grab" | "grabbing"

Description

Specifies cursor shown when mouse is above the element.

Example

Set button's cursor to "hand":

See Also

FormElement.style

Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.