(
this: DataDiffer<DiffGroupContext>,
newIndex: number,
oldIndex?: number
)
| 1457 | } |
| 1458 | |
| 1459 | function processAddUpdate( |
| 1460 | this: DataDiffer<DiffGroupContext>, |
| 1461 | newIndex: number, |
| 1462 | oldIndex?: number |
| 1463 | ): void { |
| 1464 | const context = this.context; |
| 1465 | const childOption = newIndex != null ? context.newChildren[newIndex] : null; |
| 1466 | const child = oldIndex != null ? context.oldChildren[oldIndex] : null; |
| 1467 | |
| 1468 | doCreateOrUpdateEl( |
| 1469 | context.api, |
| 1470 | child, |
| 1471 | context.dataIndex, |
| 1472 | childOption, |
| 1473 | context.seriesModel, |
| 1474 | context.group |
| 1475 | ); |
| 1476 | } |
| 1477 | |
| 1478 | function processRemove(this: DataDiffer<DiffGroupContext>, oldIndex: number): void { |
| 1479 | const context = this.context; |
nothing calls this directly
no test coverage detected
searching dependent graphs…