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

Method checked

src/material/button-toggle/button-toggle.ts:634–636  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

632 /** Whether the button is checked. */
633 @Input({transform: booleanAttribute})
634 get checked(): boolean {
635 return this.buttonToggleGroup ? this.buttonToggleGroup._isSelected(this) : this._checked;
636 }
637 set checked(value: boolean) {
638 if (value !== this._checked) {
639 this._checked = value;

Callers

nothing calls this directly

Calls 3

_syncButtonToggleMethod · 0.80
markForCheckMethod · 0.80
_isSelectedMethod · 0.45

Tested by

no test coverage detected