Teleforge API Reference - v0.1.0
Preparing search index...
web/src
MainButton
Interface MainButton
interface
MainButton
{
color
?:
string
;
disable
()
:
void
;
hide
()
:
void
;
hideProgress
()
:
void
;
isActive
?:
boolean
;
isProgressVisible
?:
boolean
;
isVisible
?:
boolean
;
onClick
(
callback
:
()
=>
void
)
:
void
;
offClick
(
callback
:
()
=>
void
)
:
void
;
setParams
(
params
:
MainButtonParams
)
:
void
;
setText
(
text
:
string
)
:
void
;
show
()
:
void
;
showProgress
(
leaveActive
?:
boolean
)
:
void
;
text
?:
string
;
textColor
?:
string
;
enable
()
:
void
;
}
Index
Methods
disable
hide
hide
Progress
on
Click
off
Click
set
Params
set
Text
show
show
Progress
enable
Properties
color?
is
Active?
is
Progress
Visible?
is
Visible?
text?
text
Color?
Methods
disable
disable
()
:
void
Returns
void
hide
hide
()
:
void
Returns
void
hide
Progress
hideProgress
()
:
void
Returns
void
on
Click
onClick
(
callback
:
()
=>
void
)
:
void
Parameters
callback
:
()
=>
void
Returns
void
off
Click
offClick
(
callback
:
()
=>
void
)
:
void
Parameters
callback
:
()
=>
void
Returns
void
set
Params
setParams
(
params
:
MainButtonParams
)
:
void
Parameters
params
:
MainButtonParams
Returns
void
set
Text
setText
(
text
:
string
)
:
void
Parameters
text
:
string
Returns
void
show
show
()
:
void
Returns
void
show
Progress
showProgress
(
leaveActive
?:
boolean
)
:
void
Parameters
Optional
leaveActive
:
boolean
Returns
void
enable
enable
()
:
void
Returns
void
Properties
Optional
color
color
?:
string
Optional
is
Active
isActive
?:
boolean
Optional
is
Progress
Visible
isProgressVisible
?:
boolean
Optional
is
Visible
isVisible
?:
boolean
Optional
text
text
?:
string
Optional
text
Color
textColor
?:
string
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
On This Page
Methods
disable
hide
hide
Progress
on
Click
off
Click
set
Params
set
Text
show
show
Progress
enable
Properties
color
is
Active
is
Progress
Visible
is
Visible
text
text
Color
Teleforge API Reference - v0.1.0
Loading...