MCPcopy Create free account
hub / github.com/angular/components / _syncItemsWithRef

Method _syncItemsWithRef

src/cdk/drag-drop/directives/drop-list.ts:430–433  ·  view source on GitHub ↗

Syncs up the registered drag items with underlying drop list ref.

(items: DragRef[])

Source from the content-addressed store, hash-verified

428
429 /** Syncs up the registered drag items with underlying drop list ref. */
430 private _syncItemsWithRef(items: DragRef[]) {
431 this._latestSortedRefs = items;
432 this._dropListRef.withItems(items);
433 }
434}

Callers 3

addItemMethod · 0.95
removeItemMethod · 0.95
_handleEventsMethod · 0.95

Calls 1

withItemsMethod · 0.65

Tested by

no test coverage detected