(
node: Node,
size: number | Sizing,
index: number,
skipLayout?: boolean
)
| 300 | } |
| 301 | |
| 302 | public addChild( |
| 303 | node: Node, |
| 304 | size: number | Sizing, |
| 305 | index: number, |
| 306 | skipLayout?: boolean |
| 307 | ): void { |
| 308 | if (index < 0 || index > this.children.length) { |
| 309 | throw new Error('Invalid index'); |
| 310 | } |
| 311 | |
| 312 | this.splitview.addView(node, size, index, skipLayout); |
| 313 | this._addChild(node, index); |
| 314 | } |
| 315 | |
| 316 | getChildCachedVisibleSize(index: number): number | undefined { |
| 317 | if (index < 0 || index >= this.children.length) { |
no test coverage detected