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