Preparing search index...
The search index is not available
tweakpane-monorepo
tweakpane-monorepo
TabApi
Class TabApi
Hierarchy
ContainerBladeApi
<
TabController
>
TabApi
Implements
EventListenable
<
TabApiEvents
>
Index
Accessors
disabled
element
hidden
pages
Methods
add
Page
dispose
export
State
import
State
off
on
refresh
remove
Page
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
pages
get
pages
(
)
:
TabPageApi
[]
Returns
TabPageApi
[]
Methods
add
Page
add
Page
(
params
:
TabPageParams
)
:
TabPageApi
Parameters
params:
TabPageParams
Returns
TabPageApi
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
:
TabApiEvents
[
EventName
]
)
=>
void
)
)
:
TabApi
Type Parameters
EventName
extends
keyof
TabApiEvents
Parameters
eventName:
EventName
handler:
(
(
ev
:
TabApiEvents
[
EventName
]
)
=>
void
)
(
ev
:
TabApiEvents
[
EventName
]
)
:
void
Parameters
ev:
TabApiEvents
[
EventName
]
Returns
void
Returns
TabApi
on
on
<
EventName
>
(
eventName
:
EventName
, handler
:
(
(
ev
:
TabApiEvents
[
EventName
]
)
=>
void
)
)
:
TabApi
Type Parameters
EventName
extends
keyof
TabApiEvents
Parameters
eventName:
EventName
handler:
(
(
ev
:
TabApiEvents
[
EventName
]
)
=>
void
)
(
ev
:
TabApiEvents
[
EventName
]
)
:
void
Parameters
ev:
TabApiEvents
[
EventName
]
Returns
void
Returns
TabApi
refresh
refresh
(
)
:
void
Refreshes the target.
Returns
void
remove
Page
remove
Page
(
index
:
number
)
:
void
Parameters
index:
number
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Modules
tweakpane-
monorepo
<internal>
Tab
Api
disabled
element
hidden
pages
add
Page
dispose
export
State
import
State
off
on
refresh
remove
Page
Generated using
TypeDoc
Refreshes the target.