MCPcopy Index your code
hub / github.com/angular/components / getOptions

Function getOptions

src/material/timepicker/timepicker.spec.ts:1401–1404  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1399 }
1400
1401 function getOptions(): HTMLElement[] {
1402 const panel = getPanel();
1403 return panel ? Array.from(panel.querySelectorAll('mat-option')) : [];
1404 }
1405
1406 function createTime(hours: number, minutes: number): Date {
1407 return adapter.setTime(adapter.today(), hours, minutes, 0);

Callers 3

timepicker.spec.tsFile · 0.70
getStatesFunction · 0.70
getActiveOptionIndexFunction · 0.70

Calls 1

getPanelFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…