(index: number, child?: TrivialInstance)
| 364 | }); |
| 365 | }, |
| 366 | getChildData(index: number, child?: TrivialInstance) { |
| 367 | const currentChild = child || this.children[index]; |
| 368 | |
| 369 | if (!isDef(currentChild)) { |
| 370 | return; |
| 371 | } |
| 372 | |
| 373 | return { |
| 374 | index: currentChild.index, |
| 375 | name: currentChild.getComputedName(), |
| 376 | title: currentChild.data.title, |
| 377 | }; |
| 378 | }, |
| 379 | }, |
| 380 | }); |