• ng.Calendar.set_days_off_formatter is not available in the Lite version

Self ng.Calendar.set_days_off_formatter (Function formatter) vs. 1.1.0 FULL ONLY

Sets the days off formatter function.

Parameters

Function formatter Required vs. 1.1.0 FULL ONLY
Function that will return the days off text. The default function will return the date translated based on the language. This function will receive the current date as a variable and should return a string. this will refer to the calendar object. Review ng.Calendar.options.days_off_formatter for more details.

Return

Self Required vs. 1.1.0 FULL ONLY
The original ng.Calendar object.

API Menu