An input field for Setting Dialog
EditText(text: string = null, inputMethod: number = 0, hint: string = null, helper: string = null)
Construct an EditText
Parameters | |
text | The default text of the input field |
inputMethod | 0 for text, 1 for number. See Constants |
hint | The label float above the input field when focus |
helper | The helper text below the input field |
TXT
: number = 0
NUM
: number = 1
EditText id(id: string)
Set an id to identify a view
Parameters | |
id | id to identify a view |
Return | |
EditText | This EditText instance |
EditText text(text: string)
Set the default text of the input field
Parameters | |
text | The default text of the input field |
Return | |
EditText | This EditText instance |
EditText method(inputMethod: number)
Set the input method for the input field
Parameters | |
inputMethod | 0 for text, 1 for number. See Constants |
Return | |
EditText | This EditText instance |
EditText hint(hint: string)
Set the hint of the input field
Parameters | |
hint | The label float above the input field when focus |
Return | |
EditText | This EditText instance |
EditText helper(helper: string)
Set the helper text of the input field
Parameters | |
helper | The helper text below the input field |
Return | |
EditText | This EditText instance |
© 2024 - Macrorify by KoK-CODE