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

Method select

src/cdk/listbox/listbox.ts:513–515  ·  view source on GitHub ↗

* Select the given option. * @param option The option to select

(option: CdkOption<T>)

Source from the content-addressed store, hash-verified

511 * @param option The option to select
512 */
513 select(option: CdkOption<T>) {
514 this.selectValue(option.value);
515 }
516
517 /**
518 * Select the given value.

Callers

nothing calls this directly

Calls 1

selectValueMethod · 0.95

Tested by

no test coverage detected