DayPilot.Menu.theme

The theme property (string) specifies the CSS theme name used by the menu.

If it is not set, the built-in "menu_default" theme is used.

Declaration

DayPilot.Menu.theme

Default Value

null

Notes

When using a custom CSS theme, define the CSS classes with the selected theme prefix.

Example

const menu = new DayPilot.Menu({
  theme: "my_theme",
  items: [
    { text: "Open" }
  ],
  // ...
});

See Also

DayPilot.Menu Class

Availability

Availability of this API item in DayPilot editions:

LitePro
DayPilot for JavaScript