MCPcopy Create free account
hub / github.com/angular/components / constructor

Method constructor

src/aria/toolbar/toolbar.ts:102–108  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

100 });
101
102 constructor() {
103 afterRenderEffect({write: () => this._pattern.setDefaultStateEffect()});
104
105 afterNextRender(() => {
106 this._collection.startObserving(this.element);
107 });
108 }
109
110 ngOnDestroy() {
111 this._collection.stopObserving();

Callers

nothing calls this directly

Calls 2

startObservingMethod · 0.80
setDefaultStateEffectMethod · 0.45

Tested by

no test coverage detected