Calendar class

Index

Constructors

Protected Properties

Protected Accessors

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


Protected Accessors


cssPrefix

⇄ get cssPrefix(): string

Returns string


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(apply?: boolean): void

Parameters:

  • apply: boolean, Optional

Returns void