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

Method constructor

src/material/core/private/ripple-loader.ts:72–80  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

70 >();
71
72 constructor() {
73 const renderer = inject(RendererFactory2).createRenderer(null, null);
74
75 this._eventCleanups = this._ngZone.runOutsideAngular(() =>
76 rippleInteractionEvents.map(name =>
77 renderer.listen(this._document, name, this._onInteraction, eventListenerOptions),
78 ),
79 );
80 }
81
82 ngOnDestroy(): void {
83 const hosts = this._hosts.keys();

Callers

nothing calls this directly

Calls 1

listenMethod · 0.80

Tested by

no test coverage detected