MCPcopy Index your code
hub / github.com/NativeScript/nativescript-angular / addElement

Function addElement

e2e/renderer/e2e/ngforof.e2e-spec.ts:108–115  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

106
107
108 const addElement = async function () {
109 await addButton.click();
110
111 lastAddedElementId += 1;
112 const newElement = await getElement(lastAddedElementId);
113
114 elements.push(newElement);
115 };
116
117 const removeElement = async (index?: number) => {
118 if (index) {

Callers 1

Calls 2

getElementFunction · 0.85
pushMethod · 0.80

Tested by

no test coverage detected