Search
Preparing search index...
The search index is not available
Swim Toolkit
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
Swim Toolkit
@swim/grid
ColLayout
Class ColLayout
Hierarchy
ColLayout
Implements
Equals
Equivalent
Debug
Index
Constructors
constructor
Properties
basis
grow
hidden
key
left
optional
right
shrink
text
Color
width
Methods
as
Hidden
as
Optional
copy
debug
equals
equivalent
To
resized
to
String
with
Flex
with
Text
Color
create
from
Any
from
Init
Constructors
constructor
new
Col
Layout
(
key
:
string
, grow
:
number
, shrink
:
number
, basis
:
Length
, optional
:
boolean
, textColor
:
null
|
Color
|
Look
<
Color
,
never
>
, width
:
null
|
Length
, left
:
null
|
Length
, right
:
null
|
Length
, hidden
:
boolean
)
:
ColLayout
Parameters
key:
string
grow:
number
shrink:
number
basis:
Length
optional:
boolean
textColor:
null
|
Color
|
Look
<
Color
,
never
>
width:
null
|
Length
left:
null
|
Length
right:
null
|
Length
hidden:
boolean
Returns
ColLayout
Properties
Readonly
basis
basis
:
Length
Readonly
grow
grow
:
number
Readonly
hidden
hidden
:
boolean
Readonly
key
key
:
string
Readonly
left
left
:
null
|
Length
Readonly
optional
optional
:
boolean
Readonly
right
right
:
null
|
Length
Readonly
shrink
shrink
:
number
Readonly
text
Color
text
Color
:
null
|
Color
|
Look
<
Color
,
never
>
Readonly
width
width
:
null
|
Length
Methods
as
Hidden
as
Hidden
(
hidden
:
boolean
)
:
ColLayout
Parameters
hidden:
boolean
Returns
ColLayout
as
Optional
as
Optional
(
optional
:
boolean
)
:
ColLayout
Parameters
optional:
boolean
Returns
ColLayout
Protected
copy
copy
(
key
:
string
, grow
:
number
, shrink
:
number
, basis
:
Length
, optional
:
boolean
, textColor
:
null
|
Color
|
Look
<
Color
,
never
>
, width
:
null
|
Length
, left
:
null
|
Length
, right
:
null
|
Length
, hidden
:
boolean
)
:
ColLayout
Parameters
key:
string
grow:
number
shrink:
number
basis:
Length
optional:
boolean
textColor:
null
|
Color
|
Look
<
Color
,
never
>
width:
null
|
Length
left:
null
|
Length
right:
null
|
Length
hidden:
boolean
Returns
ColLayout
debug
debug
(
output
:
Output
<
unknown
>
)
:
void
Parameters
output:
Output
<
unknown
>
Returns
void
equals
equals
(
that
:
unknown
)
:
boolean
Parameters
that:
unknown
Returns
boolean
equivalent
To
equivalent
To
(
that
:
unknown
, epsilon
?:
number
)
:
boolean
Parameters
that:
unknown
Optional
epsilon:
number
Returns
boolean
resized
resized
(
width
:
null
|
AnyLength
, left
:
null
|
AnyLength
, right
:
null
|
AnyLength
, hidden
?:
boolean
)
:
ColLayout
Parameters
width:
null
|
AnyLength
left:
null
|
AnyLength
right:
null
|
AnyLength
Optional
hidden:
boolean
Returns
ColLayout
to
String
to
String
(
)
:
string
Returns
string
with
Flex
with
Flex
(
grow
:
number
, shrink
:
number
, basis
?:
AnyLength
)
:
ColLayout
Parameters
grow:
number
shrink:
number
Optional
basis:
AnyLength
Returns
ColLayout
with
Text
Color
with
Text
Color
(
textColor
:
null
|
AnyColor
|
Look
<
Color
,
never
>
)
:
ColLayout
Parameters
textColor:
null
|
AnyColor
|
Look
<
Color
,
never
>
Returns
ColLayout
Static
create
create
(
key
:
string
, grow
?:
number
, shrink
?:
number
, basis
?:
AnyLength
, optional
?:
boolean
, textColor
?:
null
|
AnyColor
|
Look
<
Color
,
never
>
)
:
ColLayout
Parameters
key:
string
Optional
grow:
number
Optional
shrink:
number
Optional
basis:
AnyLength
Optional
optional:
boolean
Optional
textColor:
null
|
AnyColor
|
Look
<
Color
,
never
>
Returns
ColLayout
Static
from
Any
from
Any
(
value
:
AnyColLayout
)
:
ColLayout
Parameters
value:
AnyColLayout
Returns
ColLayout
Static
from
Init
from
Init
(
init
:
ColLayoutInit
)
:
ColLayout
Parameters
init:
ColLayoutInit
Returns
ColLayout
Modules
@swim/system
@swim/toolkit
@swim/ui
@swim/ux
@swim/button
@swim/token
@swim/grid
@swim/window
@swim/deck
@swim/vis
@swim/maps
Col
Layout
constructor
basis
grow
hidden
key
left
optional
right
shrink
text
Color
width
as
Hidden
as
Optional
copy
debug
equals
equivalent
To
resized
to
String
with
Flex
with
Text
Color
create
from
Any
from
Init
Generated using
TypeDoc