cursor(cursor, x, y)

Class: TextField. Method inherited from UIComponent.

Description:

Sets an cursor to the control. Passing NULL value removes custom cursor.

Parameters:

Name Type Description

cursor

number | null | string

A value from Cursor enum, or a relative path to image file for custom cursor icon.

x

number

Used with custom image cursor to set pointer point on the image.

y

number

Used with custom image cursor to set pointer point on the image.

Returns:

Returns this component.

Type: this