Search
Preparing search index...
The search index is not available
Swim Toolkit
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
Swim Toolkit
@swim/model
ModelListDownlink
Interface ModelListDownlink<M, V, VU>
Type parameters
M
:
ModelDownlinkContext
V =
Value
VU =
never
Hierarchy
ModelDownlink
<
M
>
ModelListDownlink
Callable
Model
List
Downlink
(
index
:
number
)
:
undefined
|
V
Model
List
Downlink
(
index
:
number
, newObject
:
V
|
VU
)
:
M
Parameters
index:
number
Returns
undefined
|
V
Parameters
index:
number
newObject:
V
|
VU
Returns
M
Index
Properties
consume
downlink
downlink
Consumers
downlink
Flags
length
name
own
Body
own
Host
Uri
own
Lane
Uri
own
Node
Uri
own
Prio
own
Rate
own
Value
Form
own
Warp
owner
Methods
add
Downlink
Consumer
bind
Downlink
body
clear
create
Downlink
did
Add
Downlink
Consumer
did
Mount
did
Remove
Downlink
Consumer
did
Start
Consuming
did
Stop
Consuming
did
Unmount
entries
for
Each
get
get
Entry
host
Uri
init
Body
init
Downlink
init
Host
Uri
init
Lane
Uri
init
Node
Uri
init
Prio
init
Rate
insert
is
Consuming
is
Empty
is
Mounted
keys
lane
Uri
link
mount
move
node
Uri
on
Add
Downlink
Consumer
on
Mount
on
Remove
Downlink
Consumer
on
Start
Consuming
on
Stop
Consuming
on
Unmount
pop
prio
push
rate
reconcile
relink
remove
remove
Downlink
Consumer
set
set
Downlink
Flags
shift
splice
start
Consuming
stop
Consuming
unlink
unmount
unshift
value
Form
values
warp
will
Add
Downlink
Consumer
will
Mount
will
Remove
Downlink
Consumer
will
Start
Consuming
will
Stop
Consuming
will
Unmount
Properties
Optional
consume
consume
:
boolean
Readonly
downlink
downlink
:
null
|
ListDownlink
<
V
,
VU
>
Readonly
downlink
Consumers
downlink
Consumers
:
readonly
unknown
[]
Readonly
downlink
Flags
downlink
Flags
:
number
Readonly
length
length
:
number
Readonly
name
name
:
undefined
|
string
Readonly
own
Body
own
Body
:
null
|
Value
Readonly
own
Host
Uri
own
Host
Uri
:
null
|
Uri
Readonly
own
Lane
Uri
own
Lane
Uri
:
null
|
Uri
Readonly
own
Node
Uri
own
Node
Uri
:
null
|
Uri
Readonly
own
Prio
own
Prio
:
undefined
|
number
Readonly
own
Rate
own
Rate
:
undefined
|
number
Readonly
own
Value
Form
own
Value
Form
:
null
|
Form
<
V
,
VU
>
Readonly
own
Warp
own
Warp
:
null
|
WarpRef
Readonly
owner
owner
:
M
Methods
add
Downlink
Consumer
add
Downlink
Consumer
(
downlinkConsumer
:
unknown
)
:
void
Parameters
downlinkConsumer:
unknown
Returns
void
bind
Downlink
bind
Downlink
(
downlink
:
ListDownlink
<
V
,
VU
>
)
:
ListDownlink
<
V
,
VU
>
Parameters
downlink:
ListDownlink
<
V
,
VU
>
Returns
ListDownlink
<
V
,
VU
>
body
body
(
)
:
null
|
Value
body
(
body
:
AnyValue
)
:
ModelListDownlink
<
M
,
V
,
VU
>
Returns
null
|
Value
Parameters
body:
AnyValue
Returns
ModelListDownlink
<
M
,
V
,
VU
>
clear
clear
(
)
:
void
Returns
void
create
Downlink
create
Downlink
(
warp
:
WarpRef
)
:
ListDownlink
<
V
,
VU
>
Parameters
warp:
WarpRef
Returns
ListDownlink
<
V
,
VU
>
did
Add
Downlink
Consumer
did
Add
Downlink
Consumer
(
downlinkConsumer
:
unknown
)
:
void
Parameters
downlinkConsumer:
unknown
Returns
void
did
Mount
did
Mount
(
)
:
void
Returns
void
did
Remove
Downlink
Consumer
did
Remove
Downlink
Consumer
(
downlinkConsumer
:
unknown
)
:
void
Parameters
downlinkConsumer:
unknown
Returns
void
did
Start
Consuming
did
Start
Consuming
(
)
:
void
Returns
void
did
Stop
Consuming
did
Stop
Consuming
(
)
:
void
Returns
void
did
Unmount
did
Unmount
(
)
:
void
Returns
void
entries
entries
(
)
:
Cursor
<
[
Value
,
V
]
>
Returns
Cursor
<
[
Value
,
V
]
>
for
Each
for
Each<T>
(
callback
:
(
value
:
V
, index
:
number
, id
:
Value
)
=>
void
|
T
)
:
undefined
|
T
for
Each<T, S>
(
callback
:
(
value
:
V
, index
:
number
, id
:
Value
)
=>
void
|
T
, thisArg
:
S
)
:
undefined
|
T
Type parameters
T
Parameters
callback:
(
value
:
V
, index
:
number
, id
:
Value
)
=>
void
|
T
(
value
:
V
, index
:
number
, id
:
Value
)
:
void
|
T
Parameters
value:
V
index:
number
id:
Value
Returns
void
|
T
Returns
undefined
|
T
Type parameters
T
S
Parameters
callback:
(
value
:
V
, index
:
number
, id
:
Value
)
=>
void
|
T
(
value
:
V
, index
:
number
, id
:
Value
)
:
void
|
T
Parameters
value:
V
index:
number
id:
Value
Returns
void
|
T
thisArg:
S
Returns
undefined
|
T
get
get
(
index
:
number
, id
?:
Value
)
:
undefined
|
V
Parameters
index:
number
Optional
id:
Value
Returns
undefined
|
V
get
Entry
get
Entry
(
index
:
number
, id
?:
Value
)
:
undefined
|
[
V
,
Value
]
Parameters
index:
number
Optional
id:
Value
Returns
undefined
|
[
V
,
Value
]
host
Uri
host
Uri
(
)
:
null
|
Uri
host
Uri
(
hostUri
:
null
|
AnyUri
)
:
ModelListDownlink
<
M
,
V
,
VU
>
Returns
null
|
Uri
Parameters
hostUri:
null
|
AnyUri
Returns
ModelListDownlink
<
M
,
V
,
VU
>
Optional
init
Body
init
Body
(
)
:
AnyValue
Returns
AnyValue
Optional
init
Downlink
init
Downlink
(
downlink
:
ListDownlink
<
V
,
VU
>
)
:
ListDownlink
<
V
,
VU
>
Parameters
downlink:
ListDownlink
<
V
,
VU
>
Returns
ListDownlink
<
V
,
VU
>
Optional
init
Host
Uri
init
Host
Uri
(
)
:
null
|
AnyUri
Returns
null
|
AnyUri
Optional
init
Lane
Uri
init
Lane
Uri
(
)
:
null
|
AnyUri
Returns
null
|
AnyUri
Optional
init
Node
Uri
init
Node
Uri
(
)
:
null
|
AnyUri
Returns
null
|
AnyUri
Optional
init
Prio
init
Prio
(
)
:
undefined
|
number
Returns
undefined
|
number
Optional
init
Rate
init
Rate
(
)
:
undefined
|
number
Returns
undefined
|
number
insert
insert
(
index
:
number
, newObject
:
V
|
VU
, id
?:
Value
)
:
ModelListDownlink
<
M
,
V
,
VU
>
Parameters
index:
number
newObject:
V
|
VU
Optional
id:
Value
Returns
ModelListDownlink
<
M
,
V
,
VU
>
is
Consuming
is
Consuming
(
)
:
boolean
Returns
boolean
is
Empty
is
Empty
(
)
:
boolean
Returns
boolean
is
Mounted
is
Mounted
(
)
:
boolean
Returns
boolean
keys
keys
(
)
:
Cursor
<
Value
>
Returns
Cursor
<
Value
>
lane
Uri
lane
Uri
(
)
:
null
|
Uri
lane
Uri
(
laneUri
:
null
|
AnyUri
)
:
ModelListDownlink
<
M
,
V
,
VU
>
Returns
null
|
Uri
Parameters
laneUri:
null
|
AnyUri
Returns
ModelListDownlink
<
M
,
V
,
VU
>
link
link
(
)
:
void
Returns
void
mount
mount
(
)
:
void
Returns
void
move
move
(
fromIndex
:
number
, toIndex
:
number
, id
?:
Value
)
:
ModelListDownlink
<
M
,
V
,
VU
>
Parameters
fromIndex:
number
toIndex:
number
Optional
id:
Value
Returns
ModelListDownlink
<
M
,
V
,
VU
>
node
Uri
node
Uri
(
)
:
null
|
Uri
node
Uri
(
nodeUri
:
null
|
AnyUri
)
:
ModelListDownlink
<
M
,
V
,
VU
>
Returns
null
|
Uri
Parameters
nodeUri:
null
|
AnyUri
Returns
ModelListDownlink
<
M
,
V
,
VU
>
on
Add
Downlink
Consumer
on
Add
Downlink
Consumer
(
downlinkConsumer
:
unknown
)
:
void
Parameters
downlinkConsumer:
unknown
Returns
void
on
Mount
on
Mount
(
)
:
void
Returns
void
on
Remove
Downlink
Consumer
on
Remove
Downlink
Consumer
(
downlinkConsumer
:
unknown
)
:
void
Parameters
downlinkConsumer:
unknown
Returns
void
on
Start
Consuming
on
Start
Consuming
(
)
:
void
Returns
void
on
Stop
Consuming
on
Stop
Consuming
(
)
:
void
Returns
void
on
Unmount
on
Unmount
(
)
:
void
Returns
void
pop
pop
(
)
:
undefined
|
V
Returns
undefined
|
V
prio
prio
(
)
:
undefined
|
number
prio
(
prio
:
undefined
|
number
)
:
ModelListDownlink
<
M
,
V
,
VU
>
Returns
undefined
|
number
Parameters
prio:
undefined
|
number
Returns
ModelListDownlink
<
M
,
V
,
VU
>
push
push
(
...
newObjects
:
(
V
|
VU
)
[]
)
:
number
Parameters
Rest
...
newObjects:
(
V
|
VU
)
[]
Returns
number
rate
rate
(
)
:
undefined
|
number
rate
(
rate
:
undefined
|
number
)
:
ModelListDownlink
<
M
,
V
,
VU
>
Returns
undefined
|
number
Parameters
rate:
undefined
|
number
Returns
ModelListDownlink
<
M
,
V
,
VU
>
reconcile
reconcile
(
)
:
void
Returns
void
relink
relink
(
)
:
void
Returns
void
remove
remove
(
index
:
number
, id
?:
Value
)
:
ModelListDownlink
<
M
,
V
,
VU
>
Parameters
index:
number
Optional
id:
Value
Returns
ModelListDownlink
<
M
,
V
,
VU
>
remove
Downlink
Consumer
remove
Downlink
Consumer
(
downlinkConsumer
:
unknown
)
:
void
Parameters
downlinkConsumer:
unknown
Returns
void
set
set
(
index
:
number
, newObject
:
V
|
VU
, id
?:
Value
)
:
ModelListDownlink
<
M
,
V
,
VU
>
Parameters
index:
number
newObject:
V
|
VU
Optional
id:
Value
Returns
ModelListDownlink
<
M
,
V
,
VU
>
set
Downlink
Flags
set
Downlink
Flags
(
downlinkFlags
:
number
)
:
void
Parameters
downlinkFlags:
number
Returns
void
shift
shift
(
)
:
undefined
|
V
Returns
undefined
|
V
splice
splice
(
start
:
number
, deleteCount
?:
number
,
...
newObjects
:
(
V
|
VU
)
[]
)
:
V
[]
Parameters
start:
number
Optional
deleteCount:
number
Rest
...
newObjects:
(
V
|
VU
)
[]
Returns
V
[]
start
Consuming
start
Consuming
(
)
:
void
Returns
void
stop
Consuming
stop
Consuming
(
)
:
void
Returns
void
unlink
unlink
(
)
:
void
Returns
void
unmount
unmount
(
)
:
void
Returns
void
unshift
unshift
(
...
newObjects
:
(
V
|
VU
)
[]
)
:
number
Parameters
Rest
...
newObjects:
(
V
|
VU
)
[]
Returns
number
value
Form
value
Form
(
)
:
null
|
Form
<
V
,
VU
>
value
Form
(
valueForm
:
null
|
Form
<
V
,
VU
>
)
:
ModelListDownlink
<
M
,
V
,
VU
>
Returns
null
|
Form
<
V
,
VU
>
Parameters
valueForm:
null
|
Form
<
V
,
VU
>
Returns
ModelListDownlink
<
M
,
V
,
VU
>
values
values
(
)
:
Cursor
<
V
>
Returns
Cursor
<
V
>
warp
warp
(
)
:
null
|
WarpRef
warp
(
warp
:
null
|
WarpRef
)
:
ModelListDownlink
<
M
,
V
,
VU
>
Returns
null
|
WarpRef
Parameters
warp:
null
|
WarpRef
Returns
ModelListDownlink
<
M
,
V
,
VU
>
will
Add
Downlink
Consumer
will
Add
Downlink
Consumer
(
downlinkConsumer
:
unknown
)
:
void
Parameters
downlinkConsumer:
unknown
Returns
void
will
Mount
will
Mount
(
)
:
void
Returns
void
will
Remove
Downlink
Consumer
will
Remove
Downlink
Consumer
(
downlinkConsumer
:
unknown
)
:
void
Parameters
downlinkConsumer:
unknown
Returns
void
will
Start
Consuming
will
Start
Consuming
(
)
:
void
Returns
void
will
Stop
Consuming
will
Stop
Consuming
(
)
:
void
Returns
void
will
Unmount
will
Unmount
(
)
:
void
Returns
void
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
Model
List
Downlink
consume
downlink
downlink
Consumers
downlink
Flags
length
name
own
Body
own
Host
Uri
own
Lane
Uri
own
Node
Uri
own
Prio
own
Rate
own
Value
Form
own
Warp
owner
add
Downlink
Consumer
bind
Downlink
body
clear
create
Downlink
did
Add
Downlink
Consumer
did
Mount
did
Remove
Downlink
Consumer
did
Start
Consuming
did
Stop
Consuming
did
Unmount
entries
for
Each
get
get
Entry
host
Uri
init
Body
init
Downlink
init
Host
Uri
init
Lane
Uri
init
Node
Uri
init
Prio
init
Rate
insert
is
Consuming
is
Empty
is
Mounted
keys
lane
Uri
link
mount
move
node
Uri
on
Add
Downlink
Consumer
on
Mount
on
Remove
Downlink
Consumer
on
Start
Consuming
on
Stop
Consuming
on
Unmount
pop
prio
push
rate
reconcile
relink
remove
remove
Downlink
Consumer
set
set
Downlink
Flags
shift
splice
start
Consuming
stop
Consuming
unlink
unmount
unshift
value
Form
values
warp
will
Add
Downlink
Consumer
will
Mount
will
Remove
Downlink
Consumer
will
Start
Consuming
will
Stop
Consuming
will
Unmount
Generated using
TypeDoc