Skip to main content

theme

Description

Optional. An initial theme of Event Calendar

Usage

theme?: "material"|"willow"|"willowDark"; 

Default config

By default, the theme config is set to the "material" value

theme: "material" 
info

To set a theme dynamically, you can use the setTheme() and setConfig() methods

Example

// create Event Calendar
new eventCalendar.EventCalendar("#root", {
events,
theme: "willowDark"
// other configuration parameters
});

Related sample: Event Calendar. Styling (Built-in themes)