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

Method inputId

src/material/checkbox/checkbox.ts:185–187  ·  view source on GitHub ↗

Returns the unique id for the visual hidden input.

()

Source from the content-addressed store, hash-verified

183
184 /** Returns the unique id for the visual hidden input. */
185 get inputId(): string {
186 return `${this.id || this._uniqueId}-input`;
187 }
188
189 /** Whether the checkbox is required. */
190 @Input({transform: booleanAttribute}) required: boolean = false;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected