Preparing search index...
The search index is not available
tweakpane-monorepo
tweakpane-monorepo
tweakpane
TextApi
Class TextApi<T>
Type Parameters
T
Hierarchy
BladeApi
<
LabelController
<
TextController
<
T
>
>
>
TextApi
Index
Constructors
constructor
Accessors
disabled
element
formatter
hidden
label
value
Methods
dispose
on
Constructors
constructor
new
Text
Api
<
T
>
(
controller
:
LabelController
<
TextController
<
T
>
>
)
:
TextApi
<
T
>
Type Parameters
T
Parameters
controller:
LabelController
<
TextController
<
T
>
>
Returns
TextApi
<
T
>
Accessors
disabled
get
disabled
(
)
:
boolean
Returns
boolean
set
disabled
(
disabled
:
boolean
)
:
void
Parameters
disabled:
boolean
Returns
void
element
get
element
(
)
:
HTMLElement
Returns
HTMLElement
formatter
get
formatter
(
)
:
Formatter
<
T
>
Returns
Formatter
<
T
>
set
formatter
(
formatter
:
Formatter
<
T
>
)
:
void
Parameters
formatter:
Formatter
<
T
>
Returns
void
hidden
get
hidden
(
)
:
boolean
Returns
boolean
set
hidden
(
hidden
:
boolean
)
:
void
Parameters
hidden:
boolean
Returns
void
label
get
label
(
)
:
undefined
|
string
Returns
undefined
|
string
set
label
(
label
:
undefined
|
string
)
:
void
Parameters
label:
undefined
|
string
Returns
void
value
get
value
(
)
:
T
Returns
T
set
value
(
value
:
T
)
:
void
Parameters
value:
T
Returns
void
Methods
dispose
dispose
(
)
:
void
Returns
void
on
on
<
EventName
>
(
eventName
:
EventName
, handler
:
(
(
ev
:
ApiChangeEvents
<
T
>
[
EventName
]
[
"event"
]
)
=>
void
)
)
:
TextApi
<
T
>
Type Parameters
EventName
extends
"change"
Parameters
eventName:
EventName
handler:
(
(
ev
:
ApiChangeEvents
<
T
>
[
EventName
]
[
"event"
]
)
=>
void
)
(
ev
:
ApiChangeEvents
<
T
>
[
EventName
]
[
"event"
]
)
:
void
Parameters
ev:
ApiChangeEvents
<
T
>
[
EventName
]
[
"event"
]
Returns
void
Returns
TextApi
<
T
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Modules
tweakpane-
monorepo
@tweakpane/core
<internal>
tweakpane
<internal>
Text
Api
constructor
disabled
element
formatter
hidden
label
value
dispose
on
Generated using
TypeDoc