MCPcopy
hub / github.com/angular/components / active

Method active

src/material/core/option/option.ts:152–154  ·  view source on GitHub ↗

* Whether or not the option is currently active and ready to be selected. * An active option displays styles as if it is focused, but the * focus is actually retained somewhere else. This comes in handy * for components like autocomplete where focus must remain on the input.

()

Source from the content-addressed store, hash-verified

150 * for components like autocomplete where focus must remain on the input.
151 */
152 get active(): boolean {
153 return this._active;
154 }
155
156 /**
157 * The displayed value of the option. It is necessary to show the selected option in the

Callers 15

constructorMethod · 0.45
constructorMethod · 0.45
constructorMethod · 0.45
constructorMethod · 0.45
constructorMethod · 0.45
constructorMethod · 0.45
constructorMethod · 0.45
constructorMethod · 0.45
constructorMethod · 0.45
constructorMethod · 0.45
ToolbarWidgetClass · 0.45
AccordionTriggerClass · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected