Blockbench Reference Docs
Preparing search index...
custom/interface
Interface
CustomElements
SelectInput
Class SelectInput<T>
Type Parameters
T
extends
Record
<
string
,
string
>
Index
Constructors
constructor
Properties
node
Methods
set
Constructors
constructor
new
SelectInput
<
T
extends
Record
<
string
,
string
>
>
(
id
:
string
,
options
:
{
default
?:
T
[
keyof
T
]
;
options
:
T
;
value
?:
T
[
keyof
T
]
;
onChange
?
(
value
:
T
[
keyof
T
]
)
:
void
;
}
,
)
:
SelectInput
<
T
>
Type Parameters
T
extends
Record
<
string
,
string
>
Parameters
id
:
string
options
:
{
default
?:
T
[
keyof
T
]
;
options
:
T
;
value
?:
T
[
keyof
T
]
;
onChange
?
(
value
:
T
[
keyof
T
]
)
:
void
;
}
Returns
SelectInput
<
T
>
Properties
node
node
:
HTMLElement
Methods
set
set
(
value
:
T
[
keyof
T
]
)
:
void
Parameters
value
:
T
[
keyof
T
]
Returns
void
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
node
Methods
set
Blockbench Reference Docs
Loading...