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
HslColorParser
Class HslColorParser
Hierarchy
Parser
<
HslColor
>
HslColorParser
Index
Constructors
constructor
Methods
as
Error
bind
feed
fork
is
Cont
is
Done
is
Error
trap
done
error
parse
parse
Rest
Constructors
constructor
new
Hsl
Color
Parser
(
hParser
?:
Parser
<
Angle
>
, sParser
?:
Parser
<
ColorChannel
>
, lParser
?:
Parser
<
ColorChannel
>
, aParser
?:
Parser
<
ColorChannel
>
, step
?:
number
)
:
HslColorParser
Parameters
Optional
hParser:
Parser
<
Angle
>
Optional
sParser:
Parser
<
ColorChannel
>
Optional
lParser:
Parser
<
ColorChannel
>
Optional
aParser:
Parser
<
ColorChannel
>
Optional
step:
number
Returns
HslColorParser
Methods
as
Error
as
Error<O2>
(
)
:
Parser
<
O2
>
Type parameters
O2
Returns
Parser
<
O2
>
bind
bind
(
)
:
HslColor
Returns
HslColor
feed
feed
(
input
:
Input
)
:
Parser
<
HslColor
>
Parameters
input:
Input
Returns
Parser
<
HslColor
>
fork
fork
(
condition
:
unknown
)
:
Parser
<
HslColor
>
Parameters
condition:
unknown
Returns
Parser
<
HslColor
>
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
, hParser
?:
Parser
<
Angle
>
, sParser
?:
Parser
<
ColorChannel
>
, lParser
?:
Parser
<
ColorChannel
>
, aParser
?:
Parser
<
ColorChannel
>
, step
?:
number
)
:
Parser
<
HslColor
>
Parameters
input:
Input
Optional
hParser:
Parser
<
Angle
>
Optional
sParser:
Parser
<
ColorChannel
>
Optional
lParser:
Parser
<
ColorChannel
>
Optional
aParser:
Parser
<
ColorChannel
>
Optional
step:
number
Returns
Parser
<
HslColor
>
Static
parse
Rest
parse
Rest
(
input
:
Input
)
:
Parser
<
HslColor
>
Parameters
input:
Input
Returns
Parser
<
HslColor
>
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
Hsl
Color
Parser
constructor
as
Error
bind
feed
fork
is
Cont
is
Done
is
Error
trap
done
error
parse
parse
Rest
Generated using
TypeDoc