elm-athlete / athlete / Elegant.Cursor

Cursor contains everything about cursors rendering.

Types


type Cursor

The Cursor record contains everything about cursor. You probably won't use it as is, but instead using Elegant.cursor. You can provide one cursor type. They can be found here.

Elegant.cursor Cursor.default

Cursor types

default : Cursor

auto : Cursor

cell : Cursor

contextMenu : Cursor

crosshair : Cursor

grab : Cursor

grabbing : Cursor

help : Cursor

move : Cursor

noDrop : Cursor

none : Cursor

notAllowed : Cursor

pointer : Cursor

progress : Cursor

text : Cursor

verticalText : Cursor

wait : Cursor

zoomIn : Cursor

zoomOut : Cursor

Compilation

cursorToCouple : Cursor -> ( String, String )

Compiles a Cursor to the corresponding CSS tuple.