MCPcopy Index your code
hub / github.com/nodegui/react-nodegui / appendInitialChild

Method appendInitialChild

src/components/Table/RNTable.ts:156–165  ·  view source on GitHub ↗
(child: RNTableItem)

Source from the content-addressed store, hash-verified

154 child.close();
155 }
156 appendInitialChild(child: RNTableItem): void {
157 const { cellPosition } = child;
158 if (!this.layout()) {
159 this.setLayout(new FlexLayout());
160 }
161 const row = this.rowCount();
162 const column = this.columnCount();
163 verifyRanges({ row, column }, { row: cellPosition[0], column: cellPosition[1] });
164 this.setItem(cellPosition[0], cellPosition[1], child);
165 }
166 appendChild(child: RNTableItem): void {
167 this.appendInitialChild(child);
168 }

Callers 2

appendChildMethod · 0.95
insertBeforeMethod · 0.95

Calls 3

verifyRangesFunction · 0.85
layoutMethod · 0.45
setLayoutMethod · 0.45

Tested by

no test coverage detected