The theme property (string) specifies the CSS theme id used by the date picker. The CSS theme structure is identical to DayPilot.Navigator themes.
Declaration
DayPilot.DatePicker.themeDefault Value
nullNotes
Set theme to a CSS theme id string to apply a specific date picker theme.
When theme is null, the date picker uses "navigator_default".
The theme CSS follows the same structure as the themes shown at themes.daypilot.org/navigator.
Example
const picker = new DayPilot.DatePicker({
theme: "my_theme",
// ...
});
picker.show();See Also
Availability
Availability of this API item in DayPilot editions:
| Product | Lite | Pro |
|---|---|---|
| DayPilot for JavaScript |
DayPilot