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

Method constructor

src/material/datepicker/calendar-body.ts:51–61  ·  view source on GitHub ↗
(
    public value: number,
    public displayValue: string,
    public ariaLabel: string,
    public enabled: boolean,
    cssClasses?: MatCalendarCellCssClasses,
    public compareValue = value,
    public rawValue?: D,
  )

Source from the content-addressed store, hash-verified

49 readonly cssClasses: string | string[] | Record<string, any> | undefined;
50
51 constructor(
52 public value: number,
53 public displayValue: string,
54 public ariaLabel: string,
55 public enabled: boolean,
56 cssClasses?: MatCalendarCellCssClasses,
57 public compareValue = value,
58 public rawValue?: D,
59 ) {
60 this.cssClasses = cssClasses instanceof Set ? Array.from(cssClasses) : cssClasses;
61 }
62}
63
64/** Event emitted when a date inside the calendar is triggered as a result of a user action. */

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected