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

Method inputId

src/material/slide-toggle/slide-toggle.ts:210–212  ·  view source on GitHub ↗

Returns the unique id for the visual hidden input.

()

Source from the content-addressed store, hash-verified

208
209 /** Returns the unique id for the visual hidden input. */
210 get inputId(): string {
211 return `${this.id || this._uniqueId}-input`;
212 }
213
214 constructor() {
215 inject(_CdkPrivateStyleLoader).load(_StructuralStylesLoader);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected