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

Method selected

src/material/core/option/option.ts:97–99  ·  view source on GitHub ↗

Whether or not the option is currently selected.

()

Source from the content-addressed store, hash-verified

95
96 /** Whether or not the option is currently selected. */
97 get selected(): boolean {
98 return this._selected;
99 }
100
101 /** The form value of the option. */
102 @Input() value!: T;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected