
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).
12 lines
409 B
TypeScript
12 lines
409 B
TypeScript
import {ElementBinder} from './element_binder';
|
|
import {DomViewContainer} from './view_container';
|
|
import {LightDom} from '../shadow_dom/light_dom';
|
|
import {Content} from '../shadow_dom/content_tag';
|
|
|
|
export class DomElement {
|
|
viewContainer: DomViewContainer;
|
|
lightDom: LightDom;
|
|
constructor(public proto: ElementBinder, public element: any /* element */,
|
|
public contentTag: Content) {}
|
|
}
|