mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 04:14:21 +08:00
chore(): update dependencies
This commit is contained in:
@ -41,15 +41,15 @@ export class VirtualScroll {
|
||||
]);
|
||||
}
|
||||
|
||||
private nodeRender(el: HTMLElement|null, cell: any, index: number) {
|
||||
private nodeRender(el: HTMLElement | null, cell: any, index: number) {
|
||||
if (!el) {
|
||||
const node = this.itmTmp.viewContainer.createEmbeddedView(
|
||||
const view = this.itmTmp.viewContainer.createEmbeddedView(
|
||||
this.getComponent(cell.type),
|
||||
{ $implicit: null, index },
|
||||
index
|
||||
);
|
||||
el = getElement(node);
|
||||
(el as any)['$ionView'] = node;
|
||||
el = getElement(view);
|
||||
(el as any)['$ionView'] = view;
|
||||
}
|
||||
const node = (el as any)['$ionView'];
|
||||
const ctx = node.context as VirtualContext;
|
||||
|
||||
Reference in New Issue
Block a user