DayPilot.DatePicker.theme

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.theme

Default Value

null

Notes

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

Navigator Themes

DayPilot.DatePicker Class

Availability

Availability of this API item in DayPilot editions:

LitePro
DayPilot for JavaScript