Lines Matching refs:newIndex
368 …public insertIndex(target: Node, newIndex: number, { changeSibling = false, isInPureChildren = fal…
370 if (newIndex < 0) {
371 newIndex = 0;
373 const before: Node = list[newIndex - 1]; constant
374 const after: Node = list[newIndex]; constant
375 list.splice(newIndex, 0, target);
382 return newIndex;
394 …public moveIndex(target: Node, newIndex: number, { changeSibling = false, isInPureChildren = false…
407 let newIndexAfter = newIndex;
408 if (index <= newIndex) {
409 newIndexAfter = newIndex - 1;
427 return newIndex;