- Source
Methods
SetText(type, text)
Set the text in the field.
Parameters:
Name | Type | Description |
---|---|---|
type | number | type of the fiel text to compare. 0 plain text, 1 HTML text |
text | string | text to set |
- Source
SetPlaceholder(placeholder)
Set the placeholder for the field.
Parameters:
Name | Type | Description |
---|---|---|
placeholder | string | placeholder to set |
- Source
SetTooltip(tooltip)
Set the tooltip for the field.
Parameters:
Name | Type | Description |
---|---|---|
tooltip | string | placeholder to set |
- Source
SetReadOnly(readOnlyMode)
Set the read-only mode for the field.
Parameters:
Name | Type | Description |
---|---|---|
readOnlyMode | number | 0 enable read-only mode, 1 disable read-only mode |
- Source
SetVisible(visibleMode)
Set the read-only mode for the field.
Parameters:
Name | Type | Description |
---|---|---|
visibleMode | number | 0 visible, 1 hide, 2 toggle |
- Source