CalendaryForPlugin
Calendary interface for plugins. Defines the methods plugins can use during installation. This avoids circular dependency with the actual implementation.
Methods
Section titled “Methods”addGroup()
Section titled “addGroup()”addGroup(
config):this
Parameters
Section titled “Parameters”config
Section titled “config”Returns
Section titled “Returns”this
hasDayEnricher()
Section titled “hasDayEnricher()”hasDayEnricher(
name):boolean
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”boolean
hasPlugin()
Section titled “hasPlugin()”hasPlugin(
name):boolean
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”boolean
registerDayEnricher()
Section titled “registerDayEnricher()”registerDayEnricher(
enricher):this
Parameters
Section titled “Parameters”enricher
Section titled “enricher”Returns
Section titled “Returns”this
registerFormula()
Section titled “registerFormula()”registerFormula(
name,fn):this
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”this
removeGroup()
Section titled “removeGroup()”removeGroup(
groupId):this
Parameters
Section titled “Parameters”groupId
Section titled “groupId”string
Returns
Section titled “Returns”this
use(
plugin):this
Parameters
Section titled “Parameters”plugin
Section titled “plugin”Returns
Section titled “Returns”this