refactor(render): add DomElement
Replaces the multiple arrays of `DomView` by a single array with `DomElement`s. Note: this commit does not show a performance regression (tested against the tree benchmark locally).
This commit is contained in:
@ -123,7 +123,7 @@ export class DomTestbed {
|
||||
}
|
||||
|
||||
triggerEvent(viewRef: RenderViewRef, boundElementIndex: number, eventName: string) {
|
||||
var element = resolveInternalDomView(viewRef).boundElements[boundElementIndex];
|
||||
var element = resolveInternalDomView(viewRef).boundElements[boundElementIndex].element;
|
||||
dispatchEvent(element, eventName);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user