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

Method focusActiveCell

src/material/datepicker/calendar.ts:500–502  ·  view source on GitHub ↗

Focuses the active date.

()

Source from the content-addressed store, hash-verified

498
499 /** Focuses the active date. */
500 focusActiveCell() {
501 this._getCurrentViewComponent()?._focusActiveCell(false);
502 }
503
504 /** Updates today's date after an update of the active date */
505 updateTodaysDate() {

Callers 3

ngAfterViewCheckedMethod · 0.95
ngAfterViewInitMethod · 0.80
calendar.spec.tsFile · 0.80

Calls 2

_focusActiveCellMethod · 0.45

Tested by

no test coverage detected