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.themeDefault Value
nullNotes
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
Availability
Availability of this API item in DayPilot editions:
| Product | Lite | Pro |
|---|---|---|
| DayPilot for JavaScript |
DayPilot