docs
js
docs
/
dev.inmo.tgbotapi.webapps
/
MainButton
Main
Button
js
external
class
MainButton
Content copied to clipboard
Functions
Properties
Extensions
Functions
disable
Link copied to clipboard
js
fun
disable
(
)
:
MainButton
Content copied to clipboard
enable
Link copied to clipboard
js
fun
enable
(
)
:
MainButton
Content copied to clipboard
hide
Link copied to clipboard
js
fun
hide
(
)
:
MainButton
Content copied to clipboard
hide
Progress
Link copied to clipboard
js
fun
hideProgress
(
)
:
MainButton
Content copied to clipboard
set
Text
Link copied to clipboard
js
fun
setText
(
text
:
String
)
:
MainButton
Content copied to clipboard
show
Link copied to clipboard
js
fun
show
(
)
:
MainButton
Content copied to clipboard
show
Progress
Link copied to clipboard
js
fun
showProgress
(
leaveActive
:
Boolean
=
definedExternally
)
:
MainButton
Content copied to clipboard
Properties
color
Link copied to clipboard
js
var
color
:
String
Content copied to clipboard
isActive
Link copied to clipboard
js
val
isActive
:
Boolean
Content copied to clipboard
isProgressVisible
Link copied to clipboard
js
val
isProgressVisible
:
Boolean
Content copied to clipboard
isVisible
Link copied to clipboard
js
val
isVisible
:
Boolean
Content copied to clipboard
text
Link copied to clipboard
js
val
text
:
String
Content copied to clipboard
textColor
Link copied to clipboard
js
var
textColor
:
String
Content copied to clipboard
Extensions
on
Click
Link copied to clipboard
js
fun
MainButton
.
onClick
(
eventHandler
:
EventHandler
)
:
MainButton
Content copied to clipboard
set
Params
Link copied to clipboard
js
fun
MainButton
.
setParams
(
params
:
MainButtonParams
)
:
MainButton
Content copied to clipboard