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

Method buttonId

src/material/button-toggle/button-toggle.ts:596–598  ·  view source on GitHub ↗

Unique ID for the underlying `button` element.

()

Source from the content-addressed store, hash-verified

594
595 /** Unique ID for the underlying `button` element. */
596 get buttonId(): string {
597 return `${this.id}-button`;
598 }
599
600 /** The unique ID for this button toggle. */
601 @Input() id!: string;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected