Documentation - v19.2.0-dev
Preparing search index...
@stereograph/teiaviewer
ColorController
Class ColorController
Hierarchy (
View Summary
)
ValueController
<
HexColor
>
ColorController
Index
Constructors
constructor
Properties
_
default
Value
can
Reset
is
Color
Controller
is
Value
Controller
on
Change
save
To
Local
Storage
show
In
Dev
Tools
tag
Accessors
default
Value
value
Methods
reset
Constructors
constructor
new
ColorController
(
defaultValue
:
`
#
${
string
}
`
,
options
?:
ValueControllerOptions
<
`
#
${
string
}
`
>
,
)
:
ColorController
Signal emitted when the value changes
Parameters
defaultValue
:
`
#
${
string
}
`
options
:
ValueControllerOptions
<
`
#
${
string
}
`
>
= {}
Returns
ColorController
Properties
Protected
_
default
Value
_defaultValue
:
`
#
${
string
}
`
Readonly
can
Reset
canReset
:
boolean
Readonly
is
Color
Controller
isColorController
:
true
Readonly
is
Value
Controller
isValueController
:
true
Readonly
on
Change
onChange
:
ViewerSignal
<
(
value
:
`
#
${
string
}
`
)
=>
void
>
= ...
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
()
:
T
Returns
T
set
value
(
newValue
:
T
)
:
void
Parameters
newValue
:
T
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
Color
Controller
is
Value
Controller
on
Change
save
To
Local
Storage
show
In
Dev
Tools
tag
Accessors
default
Value
value
Methods
reset
Documentation - v19.2.0-dev
Loading...
Signal emitted when the value changes