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