MCPcopy
hub / github.com/angular/angular / setInput

Function setInput

modules/benchmarks/src/hydration/init.ts:39–44  ·  view source on GitHub ↗
(data: TableCell[][])

Source from the content-addressed store, hash-verified

37 let data: TableCell[][] = [];
38
39 const setInput = (data: TableCell[][]) => {
40 if (tableComponentRef) {
41 tableComponentRef.setInput('data', data);
42 tableComponentRef.changeDetectorRef.detectChanges();
43 }
44 };
45
46 function destroyDom() {
47 setInput(emptyTable);

Callers 3

destroyDomFunction · 0.85
updateDomFunction · 0.85
createDomFunction · 0.85

Calls 2

setInputMethod · 0.80
detectChangesMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…