Calendar class

Index

Constructors

Protected Properties

Public Methods

Protected Methods

Constructors


constructor

⊕ new Calendar(slot: HTMLElement,options?: CalendarOptions): Calendar

Parameters:


Protected Properties


currentDate

● currentDate: Date


options

● options: CalendarOptions


slot

● slot: HTMLElement


Public Methods


getDate

▸ getDate(): Date

Returns Date


render

▸ render(): any

Returns any


setDate

▸ setDate(date: Date): void

Parameters:

  • date: Date

Returns void


Protected Methods


dateChanged

▸ dateChanged(): void

Returns void