GlobalCursor

GlobalCursor

Source:

GlobalCursor adds global cursor classes to ensure one of the standard cursors is shown in the overall application.

Methods

globalCursor(cursor)

Source:

Adds a class "aux-cursor-" + cursor to the document.body to show a specific cursor.

Parameters:
Name Type Description
cursor string

The name of the cursor to show.

Fires:

removeCursor(cursor)

Source:

Removes the class from document.body node.

Parameters:
Name Type Description
cursor string

The name of the cursor to remome.

Fires:

Events

cursorremoved

Source:

Is fired when a cursor is removed.

Parameters:
Name Type Description
cursor string

The name of the cursor to remove.

globalcursor

Source:

Is fired when a cursor gets set.

Parameters:
Name Type Description
cursor string

The name of the cursor to show.