AbstractNativeInputTextElement
title: AbstractNativeInputTextElement
Classes
- AbstractNativeInputTextElement ⇐
AbstractNativeElement
- AbstractNativeInputTextElement
AbstractNativeInputTextElement ⇐ AbstractNativeElement
Kind: global abstract class
Extends: AbstractNativeElement
Properties
Name | Type | Description |
---|---|---|
color | string | The text color represented by a #RRGGBB hex code |
size | number | The size of text (in pixel) |
family | string | The family of text |
align | string | The text alignment (left, right, center) |
fillColor | string | The shape color background represented by a #RRGGBB hex code |
placeholder | string | short hint that describes the expected value of the input field |
placeholderColor | string | The placeholder text color represented by a #RRGGBB hex code |
$$value | string | the value of the input element |
keyboardType | string | the type of input that will mainly impact the relative displayed keyboard |
isInteractive | boolean | flag |
- AbstractNativeInputTextElement ⇐
AbstractNativeElement
AbstractNativeInputTextElement()
Native element dealing with input text field as the HTML <INPUT>
tag.
AbstractNativeInputTextElement()
Main empty constructor.
setValue(value) ⇒ Promise
Set a value for the input
Kind: instance method of AbstractNativeInputTextElement
Param | Type | Description |
---|---|---|
value | String | Value to set in the input |
getValue() ⇒ Promise
Get value of the input
Kind: instance method of AbstractNativeInputTextElement
showNativeVirtualKeyboard()
Function to be called by @MFakeNativeInput when useNativeKeyboard is set to true
Kind: instance method of AbstractNativeInputTextElement
_defineSettings()
Kind: instance method of AbstractNativeInputTextElement
_setValue(value) ⇒ Promise
Set a value for the input
Kind: instance method of AbstractNativeInputTextElement
Param | Type | Description |
---|---|---|
value | String | Value to set in the input |
_defineTypeInSettings(settings)
Set the type for the input
Kind: instance method of AbstractNativeInputTextElement
Param | Type | Description |
---|---|---|
settings | Object | Object settings for object creation |
_toJson()
Kind: instance method of AbstractNativeInputTextElement
onVirtualKeyboardHide(value)
Triggered each time an virtual keyboard focus is lost and keyboard is hide.
Kind: instance method of AbstractNativeInputTextElement
Param | Type | Description |
---|---|---|
value | string | Value of the input |
onValueChanged(value)
Triggered each time value inside input in modified
Kind: instance method of AbstractNativeInputTextElement
Param | Type | Description |
---|---|---|
value | string | Value of the input |
AbstractNativeInputTextElement
Kind: global class
AbstractNativeInputTextElement()
Native element dealing with input text field as the HTML <INPUT>
tag.
AbstractNativeInputTextElement()
Main empty constructor.
setValue(value) ⇒ Promise
Set a value for the input
Kind: instance method of AbstractNativeInputTextElement
Param | Type | Description |
---|---|---|
value | String | Value to set in the input |
getValue() ⇒ Promise
Get value of the input
Kind: instance method of AbstractNativeInputTextElement
showNativeVirtualKeyboard()
Function to be called by @MFakeNativeInput when useNativeKeyboard is set to true
Kind: instance method of AbstractNativeInputTextElement
_defineSettings()
Kind: instance method of AbstractNativeInputTextElement
_setValue(value) ⇒ Promise
Set a value for the input
Kind: instance method of AbstractNativeInputTextElement
Param | Type | Description |
---|---|---|
value | String | Value to set in the input |
_defineTypeInSettings(settings)
Set the type for the input
Kind: instance method of AbstractNativeInputTextElement
Param | Type | Description |
---|---|---|
settings | Object | Object settings for object creation |
_toJson()
Kind: instance method of AbstractNativeInputTextElement
onVirtualKeyboardHide(value)
Triggered each time an virtual keyboard focus is lost and keyboard is hide.
Kind: instance method of AbstractNativeInputTextElement
Param | Type | Description |
---|---|---|
value | string | Value of the input |
onValueChanged(value)
Triggered each time value inside input in modified
Kind: instance method of AbstractNativeInputTextElement
Param | Type | Description |
---|---|---|
value | string | Value of the input |