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

Method _canSelect

src/material/datepicker/month-view.ts:615–617  ·  view source on GitHub ↗

Gets whether a date can be selected in the month view.

(date: D)

Source from the content-addressed store, hash-verified

613
614 /** Gets whether a date can be selected in the month view. */
615 private _canSelect(date: D) {
616 return !this.dateFilter || this.dateFilter(date);
617 }
618
619 /** Clears out preview state. */
620 private _clearPreview() {

Callers 2

Calls 1

dateFilterMethod · 0.45

Tested by

no test coverage detected