English
Interface: D3PMergeResult<T>
Defined in: core/util.ts:10
What d3pMergeArray returns: the values that entered, left, stayed or all of them, to act on each group in turn.
Type Parameters
T
T
Methods
all()
ts
all(cb): D3PMergeResult<T>;Defined in: core/util.ts:18
Calls cb with all the values, new and old.
Parameters
cb
(v) => void
Returns
D3PMergeResult<T>
enter()
ts
enter(cb): D3PMergeResult<T>;Defined in: core/util.ts:12
Calls cb with each value that is new.
Parameters
cb
(v) => void
Returns
D3PMergeResult<T>
exit()
ts
exit(cb): D3PMergeResult<T>;Defined in: core/util.ts:14
Calls cb with each value that is gone.
Parameters
cb
(v) => void
Returns
D3PMergeResult<T>
update()
ts
update(cb): D3PMergeResult<T>;Defined in: core/util.ts:16
Calls cb with each value that is in both.
Parameters
cb
(v) => void
Returns
D3PMergeResult<T>
value()
ts
value(): T[];Defined in: core/util.ts:20
All the values, new and old.
Returns
T[]