Skip to content

CalendaryPlugin

Plugin interface

Plugins work with any Calendary instance regardless of its generic parameters. The install function receives a Calendary with unknown metadata/category types.

optional dependencies?: string[]


optional eventTypes?: Record<string, EventTypeHandler>


optional formulas?: Record<string, FormulaFn>


name: string


version: string

install(calendary, context?): void

CalendaryForPlugin

PluginContext

void