()
| 558 | public readonly cssPseudoClasses: Set<string>; |
| 559 | |
| 560 | constructor() { |
| 561 | super(); |
| 562 | this._domId = viewIdCounter++; |
| 563 | this._style = new Style(new WeakRef(this)); |
| 564 | this.cssClasses = new Set(); |
| 565 | this.cssPseudoClasses = new Set(); |
| 566 | |
| 567 | this.cssPseudoClasses.add(this.defaultVisualState); |
| 568 | |
| 569 | this.notify({ eventName: ViewBase.createdEvent, type: this.constructor.name, object: this }); |
| 570 | } |
| 571 | |
| 572 | // Used in Angular. TODO: remove from here |
| 573 | /** |