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

Method ngAfterContentInit

src/material/chips/chip.ts:300–310  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

298 }
299
300 ngAfterContentInit(): void {
301 // Since the styling depends on the presence of some
302 // actions, we have to mark for check on changes.
303 this._actionChanges = merge(
304 this._allAvatars.changes,
305 this._allLeadingIcons.changes,
306 this._allTrailingIcons.changes,
307 this._allEditIcons.changes,
308 this._allRemoveIcons.changes,
309 ).subscribe(() => this._changeDetectorRef.markForCheck());
310 }
311
312 ngDoCheck(): void {
313 this._rippleLoader.setDisabled(this._elementRef.nativeElement, this._isRippleDisabled());

Callers

nothing calls this directly

Calls 1

markForCheckMethod · 0.80

Tested by

no test coverage detected