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

Function _initInteractiveListItem

src/material/list/list-base.ts:218–228  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

216 }
217
218 private _initInteractiveListItem() {
219 this._hostElement.classList.add('mat-mdc-list-item-interactive');
220 this._rippleRenderer = new RippleRenderer(
221 this,
222 this._ngZone,
223 this._hostElement,
224 this._platform,
225 inject(Injector),
226 );
227 this._rippleRenderer.setupTriggerEvents(this._hostElement);
228 }
229
230 /**
231 * Subscribes to changes in the projected title and lines. Triggers a

Callers

nothing calls this directly

Calls 2

setupTriggerEventsMethod · 0.80
addMethod · 0.45

Tested by

no test coverage detected