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
/
TeaVmButtonPeer
Tea
Vm
Button
Peer
class
TeaVmButtonPeer
:
TeaVmComponentPeer
,
ButtonPeer
Members
Constructors
Tea
Vm
Button
Peer
Link copied to clipboard
constructor
(
element
:
HTMLElement
)
Properties
element
Link copied to clipboard
protected
val
element
:
HTMLElement
Functions
add
Style
Class
Link copied to clipboard
open
fun
addStyleClass
(
cssClass
:
String
)
remove
Style
Class
Link copied to clipboard
open
fun
removeStyleClass
(
cssClass
:
String
)
set
Enabled
Link copied to clipboard
open
fun
setEnabled
(
enabled
:
Boolean
)
set
Id
Link copied to clipboard
open
fun
setId
(
id
:
String
)
set
Loading
Link copied to clipboard
open
fun
setLoading
(
loading
:
Boolean
)
set
On
Click
Link copied to clipboard
open
fun
setOnClick
(
action
:
Runnable
)
set
Text
Link copied to clipboard
open
fun
setText
(
text
:
String
)
set
Type
Link copied to clipboard
open
fun
setType
(
type
:
ButtonType
)
set
Visible
Link copied to clipboard
open
fun
setVisible
(
visible
:
Boolean
)
swap
Class
Link copied to clipboard
protected
fun
swapClass
(
oldClass
:
String
,
newClass
:
String
)