Calendar class
Constructors
Section titled “Constructors”constructor
Section titled “constructor”⊕ new Calendar(slot: HTMLElement
,options?: CalendarOptions): Calendar
Parameters:
Section titled “Parameters:”- slot:
HTMLElement
- options: CalendarOptions, Optional
Protected Properties
Section titled “Protected Properties”currentDate
Section titled “currentDate”● currentDate: Date
options
Section titled “options”● options: CalendarOptions
● slot: HTMLElement
Protected Accessors
Section titled “Protected Accessors”cssPrefix
Section titled “cssPrefix”⇄ get cssPrefix(): string
Returns string
Public Methods
Section titled “Public Methods”getDate
Section titled “getDate”▸ getDate(): Date
Returns Date
render
Section titled “render”▸ render(): any
Returns any
setDate
Section titled “setDate”▸ setDate(date: Date
): void
Parameters:
Section titled “Parameters:”- date:
Date
Returns void
Protected Methods
Section titled “Protected Methods”dateChanged
Section titled “dateChanged”▸ dateChanged(apply?: boolean
): void
Parameters:
Section titled “Parameters:”- apply:
boolean
, Optional
Returns void