Search
Preparing search index...
The search index is not available
Swim Toolkit
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
Swim Toolkit
@swim/style
StyleValueParser
Class StyleValueParser
Hierarchy
Parser
<
StyleValue
>
StyleValueParser
Index
Constructors
constructor
Methods
as
Error
bind
feed
fork
is
Cont
is
Done
is
Error
trap
done
error
parse
Constructors
constructor
new
Style
Value
Parser
(
identOutput
?:
Output
<
string
>
, valueParser
?:
Parser
<
number
>
, unitsOutput
?:
Output
<
string
>
, step
?:
number
)
:
StyleValueParser
Parameters
Optional
identOutput:
Output
<
string
>
Optional
valueParser:
Parser
<
number
>
Optional
unitsOutput:
Output
<
string
>
Optional
step:
number
Returns
StyleValueParser
Methods
as
Error
as
Error<O2>
(
)
:
Parser
<
O2
>
Type parameters
O2
Returns
Parser
<
O2
>
bind
bind
(
)
:
StyleValue
Returns
StyleValue
feed
feed
(
input
:
Input
)
:
Parser
<
StyleValue
>
Parameters
input:
Input
Returns
Parser
<
StyleValue
>
fork
fork
(
condition
:
unknown
)
:
Parser
<
StyleValue
>
Parameters
condition:
unknown
Returns
Parser
<
StyleValue
>
is
Cont
is
Cont
(
)
:
boolean
Returns
boolean
is
Done
is
Done
(
)
:
boolean
Returns
boolean
is
Error
is
Error
(
)
:
boolean
Returns
boolean
trap
trap
(
)
:
Error
Returns
Error
Static
done
done<O>
(
value
:
O
)
:
Parser
<
O
>
Type parameters
O
Parameters
value:
O
Returns
Parser
<
O
>
Static
error
error<O>
(
error
:
Error
|
Diagnostic
)
:
Parser
<
O
>
Type parameters
O
Parameters
error:
Error
|
Diagnostic
Returns
Parser
<
O
>
Static
parse
parse
(
input
:
Input
, identOutput
?:
Output
<
string
>
, valueParser
?:
Parser
<
number
>
, unitsOutput
?:
Output
<
string
>
, step
?:
number
)
:
Parser
<
StyleValue
>
Parameters
input:
Input
Optional
identOutput:
Output
<
string
>
Optional
valueParser:
Parser
<
number
>
Optional
unitsOutput:
Output
<
string
>
Optional
step:
number
Returns
Parser
<
StyleValue
>
Modules
@swim/system
@swim/toolkit
@swim/ui
@swim/model
@swim/style
@swim/theme
@swim/view
@swim/dom
@swim/graphics
@swim/component
@swim/ux
@swim/vis
@swim/maps
Style
Value
Parser
constructor
as
Error
bind
feed
fork
is
Cont
is
Done
is
Error
trap
done
error
parse
Generated using
TypeDoc