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