NOISIF Platform
Toggle table of contents
80ccce4
java
Target filter
java
Switch theme
Search in API
Skip to content
NOISIF Platform
NSL UI
/
xyz.noisif.nsl.ui.adapter.teavm
/
TeaVmTextFieldPeer
Tea
Vm
Text
Field
Peer
class
TeaVmTextFieldPeer
:
TeaVmComponentPeer
,
TextFieldPeer
Members
Constructors
Tea
Vm
Text
Field
Peer
Link copied to clipboard
constructor
(
doc
:
HTMLDocument
)
Properties
element
Link copied to clipboard
protected
val
element
:
HTMLElement
error
Label
Link copied to clipboard
private
val
errorLabel
:
HTMLElement
input
Link copied to clipboard
private
val
input
:
HTMLInputElement
Functions
add
Style
Class
Link copied to clipboard
open
fun
addStyleClass
(
cssClass
:
String
)
get
Value
Link copied to clipboard
open
fun
getValue
(
)
:
String
remove
Style
Class
Link copied to clipboard
open
fun
removeStyleClass
(
cssClass
:
String
)
set
Error
Link copied to clipboard
open
fun
setError
(
errorMessage
:
String
)
set
Id
Link copied to clipboard
open
fun
setId
(
id
:
String
)
set
On
Change
Link copied to clipboard
open
fun
setOnChange
(
action
:
Runnable
)
set
Password
Mode
Link copied to clipboard
open
fun
setPasswordMode
(
isPassword
:
Boolean
)
set
Placeholder
Link copied to clipboard
open
fun
setPlaceholder
(
placeholder
:
String
)
set
Value
Link copied to clipboard
open
fun
setValue
(
value
:
String
)
set
Visible
Link copied to clipboard
open
fun
setVisible
(
visible
:
Boolean
)
swap
Class
Link copied to clipboard
protected
fun
swapClass
(
oldClass
:
String
,
newClass
:
String
)