Documentation - v19.2.0-dev
Preparing search index...
@stereograph/teiaviewer
SelectController
Class SelectController<TOptions>
Type Parameters
const
TOptions
extends
ReadonlyArray
<
any
>
Hierarchy (
View Summary
)
ValueController
<
TOptions
[
number
]
>
SelectController
Index
Constructors
constructor
Properties
_
default
Value
can
Reset
is
Select
Controller
is
Value
Controller
on
Change
options
save
To
Local
Storage
show
In
Dev
Tools
tag
Accessors
default
Value
value
Methods
reset
Constructors
constructor
new
SelectController
<
const
TOptions
extends
readonly
any
[]
>
(
defaultValue
:
TOptions
[
number
]
,
options
:
TOptions
,
pOptions
?:
ValueControllerOptions
<
TOptions
[
number
]
>
,
)
:
SelectController
<
TOptions
>
Type Parameters
const
TOptions
extends
readonly
any
[]
Parameters
defaultValue
:
TOptions
[
number
]
options
:
TOptions
pOptions
:
ValueControllerOptions
<
TOptions
[
number
]
>
= {}
Returns
SelectController
<
TOptions
>
Properties
Protected
_
default
Value
_defaultValue
:
TOptions
[
number
]
Readonly
can
Reset
canReset
:
boolean
Readonly
is
Select
Controller
isSelectController
:
true
Readonly
is
Value
Controller
isValueController
:
true
Readonly
on
Change
onChange
:
ViewerSignal
<
(
value
:
TOptions
[
number
]
)
=>
void
>
= ...
Readonly
options
options
:
TOptions
Readonly
save
To
Local
Storage
saveToLocalStorage
:
boolean
Readonly
show
In
Dev
Tools
showInDevTools
:
boolean
Readonly
tag
tag
:
string
Accessors
default
Value
get
defaultValue
()
:
T
Returns
T
value
get
value
()
:
TOptions
[
number
]
Returns
TOptions
[
number
]
set
value
(
newValue
:
TOptions
[
number
]
)
:
void
Parameters
newValue
:
TOptions
[
number
]
Returns
void
Methods
reset
reset
()
:
void
Returns
void
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
_
default
Value
can
Reset
is
Select
Controller
is
Value
Controller
on
Change
options
save
To
Local
Storage
show
In
Dev
Tools
tag
Accessors
default
Value
value
Methods
reset
Documentation - v19.2.0-dev
Loading...