Preparing search index...
The search index is not available
tweakpane-monorepo
tweakpane-monorepo
ButtonApi
Class ButtonApi
Hierarchy
BladeApi
<
ButtonBladeController
>
ButtonApi
Implements
EventListenable
<
ButtonApiEvents
>
Index
Accessors
disabled
element
hidden
label
title
Methods
dispose
export
State
import
State
off
on
Accessors
disabled
get
disabled
(
)
:
boolean
Returns
boolean
set
disabled
(
disabled
:
boolean
)
:
void
Parameters
disabled:
boolean
Returns
void
element
get
element
(
)
:
HTMLElement
Returns
HTMLElement
hidden
get
hidden
(
)
:
boolean
Returns
boolean
set
hidden
(
hidden
:
boolean
)
:
void
Parameters
hidden:
boolean
Returns
void
label
get
label
(
)
:
undefined
|
null
|
string
Returns
undefined
|
null
|
string
set
label
(
label
:
undefined
|
null
|
string
)
:
void
Parameters
label:
undefined
|
null
|
string
Returns
void
title
get
title
(
)
:
string
Returns
string
set
title
(
title
:
string
)
:
void
Parameters
title:
string
Returns
void
Methods
dispose
dispose
(
)
:
void
Returns
void
export
State
export
State
(
)
:
BladeState
Returns
BladeState
import
State
import
State
(
state
:
BladeState
)
:
boolean
Parameters
state:
BladeState
Returns
boolean
off
off
<
EventName
>
(
eventName
:
EventName
, handler
:
(
(
ev
:
ButtonApiEvents
[
EventName
]
)
=>
void
)
)
:
ButtonApi
Type Parameters
EventName
extends
"click"
Parameters
eventName:
EventName
handler:
(
(
ev
:
ButtonApiEvents
[
EventName
]
)
=>
void
)
(
ev
:
ButtonApiEvents
[
EventName
]
)
:
void
Parameters
ev:
ButtonApiEvents
[
EventName
]
Returns
void
Returns
ButtonApi
on
on
<
EventName
>
(
eventName
:
EventName
, handler
:
(
(
ev
:
ButtonApiEvents
[
EventName
]
)
=>
void
)
)
:
ButtonApi
Type Parameters
EventName
extends
"click"
Parameters
eventName:
EventName
handler:
(
(
ev
:
ButtonApiEvents
[
EventName
]
)
=>
void
)
(
ev
:
ButtonApiEvents
[
EventName
]
)
:
void
Parameters
ev:
ButtonApiEvents
[
EventName
]
Returns
void
Returns
ButtonApi
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Modules
tweakpane-
monorepo
<internal>
Button
Api
disabled
element
hidden
label
title
dispose
export
State
import
State
off
on
Generated using
TypeDoc