AbstractNativeInputTextElement


title: AbstractNativeInputTextElement

Classes

AbstractNativeInputTextElementAbstractNativeElement
AbstractNativeInputTextElement

AbstractNativeInputTextElement ⇐ AbstractNativeElement

Kind: global abstract class
Extends: AbstractNativeElement
Properties

NameTypeDescription
colorstring

The text color represented by a #RRGGBB hex code

sizenumber

The size of text (in pixel)

familystring

The family of text

alignstring

The text alignment (left, right, center)

fillColorstring

The shape color background represented by a #RRGGBB hex code

placeholderstring

short hint that describes the expected value of the input field

placeholderColorstring

The placeholder text color represented by a #RRGGBB hex code

$$valuestring

the value of the input element

keyboardTypestring

the type of input that will mainly impact the relative displayed keyboard

isInteractiveboolean

flag

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

ParamTypeDescription
valueString

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

ParamTypeDescription
valueString

Value to set in the input

_defineTypeInSettings(settings)

Set the type for the input

Kind: instance method of AbstractNativeInputTextElement

ParamTypeDescription
settingsObject

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

ParamTypeDescription
valuestring

Value of the input

onValueChanged(value)

Triggered each time value inside input in modified

Kind: instance method of AbstractNativeInputTextElement

ParamTypeDescription
valuestring

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

ParamTypeDescription
valueString

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

ParamTypeDescription
valueString

Value to set in the input

_defineTypeInSettings(settings)

Set the type for the input

Kind: instance method of AbstractNativeInputTextElement

ParamTypeDescription
settingsObject

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

ParamTypeDescription
valuestring

Value of the input

onValueChanged(value)

Triggered each time value inside input in modified

Kind: instance method of AbstractNativeInputTextElement

ParamTypeDescription
valuestring

Value of the input