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
TreeRoot
Class TreeRoot
Hierarchy
TreeRoot
Implements
Equals
Equivalent
Debug
Index
Constructors
constructor
Properties
basis
grow
hidden
key
left
optional
right
shrink
width
Methods
as
Hidden
as
Optional
copy
debug
equals
equivalent
To
resized
to
String
with
Flex
create
from
Any
from
Init
Constructors
constructor
new
Tree
Root
(
key
:
string
, grow
:
number
, shrink
:
number
, basis
:
Length
, optional
:
boolean
, width
:
null
|
Length
, left
:
null
|
Length
, right
:
null
|
Length
, hidden
:
boolean
)
:
TreeRoot
Parameters
key:
string
grow:
number
shrink:
number
basis:
Length
optional:
boolean
width:
null
|
Length
left:
null
|
Length
right:
null
|
Length
hidden:
boolean
Returns
TreeRoot
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
width
width
:
null
|
Length
Methods
as
Hidden
as
Hidden
(
hidden
:
boolean
)
:
TreeRoot
Parameters
hidden:
boolean
Returns
TreeRoot
as
Optional
as
Optional
(
optional
:
boolean
)
:
TreeRoot
Parameters
optional:
boolean
Returns
TreeRoot
Protected
copy
copy
(
key
:
string
, grow
:
number
, shrink
:
number
, basis
:
Length
, optional
:
boolean
, width
:
null
|
Length
, left
:
null
|
Length
, right
:
null
|
Length
, hidden
:
boolean
)
:
TreeRoot
Parameters
key:
string
grow:
number
shrink:
number
basis:
Length
optional:
boolean
width:
null
|
Length
left:
null
|
Length
right:
null
|
Length
hidden:
boolean
Returns
TreeRoot
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
)
:
TreeRoot
Parameters
width:
null
|
AnyLength
left:
null
|
AnyLength
right:
null
|
AnyLength
Optional
hidden:
boolean
Returns
TreeRoot
to
String
to
String
(
)
:
string
Returns
string
with
Flex
with
Flex
(
grow
:
number
, shrink
:
number
, basis
?:
AnyLength
)
:
TreeRoot
Parameters
grow:
number
shrink:
number
Optional
basis:
AnyLength
Returns
TreeRoot
Static
create
create
(
key
:
string
, grow
?:
number
, shrink
?:
number
, basis
?:
AnyLength
, optional
?:
boolean
)
:
TreeRoot
Parameters
key:
string
Optional
grow:
number
Optional
shrink:
number
Optional
basis:
AnyLength
Optional
optional:
boolean
Returns
TreeRoot
Static
from
Any
from
Any
(
value
:
AnyTreeRoot
)
:
TreeRoot
Parameters
value:
AnyTreeRoot
Returns
TreeRoot
Static
from
Init
from
Init
(
init
:
TreeRootInit
)
:
TreeRoot
Parameters
init:
TreeRootInit
Returns
TreeRoot
Modules
@swim/system
@swim/toolkit
@swim/ui
@swim/ux
@swim/button
@swim/token
@swim/grid
@swim/window
@swim/deck
@swim/vis
@swim/maps
Tree
Root
constructor
basis
grow
hidden
key
left
optional
right
shrink
width
as
Hidden
as
Optional
copy
debug
equals
equivalent
To
resized
to
String
with
Flex
create
from
Any
from
Init
Generated using
TypeDoc