The eventBorderRadius property (number or string) applies the specified border radius to events and drag-and-drop shadows in the JavaScript Calendar component.
Available since 2024.4.6200.
Declaration
DayPilot.Calendar.eventBorderRadiusDefault Value
nullNotes
The value can be a CSS border-radius string or a number, which is converted to pixels.
You can use this property to override the active theme and also set a per-event value in DayPilot.Calendar.onBeforeEventRender using args.data.borderRadius for individual events.
Examples
JavaScript
const calendar = new DayPilot.Calendar("dp", {
eventBorderRadius: "25px",
// ...
});
calendar.init();Angular
<daypilot-calendar [config]="config"></daypilot-calendar>config: DayPilot.CalendarConfig = {
eventBorderRadius: "25px",
// ...
};React
<DayPilotCalendar
eventBorderRadius="25px"
{/* ... */}
/>Vue
<DayPilotCalendar
eventBorderRadius="25px"
<!-- ... -->
/>See Also
Css Themes [doc.daypilot.org]
Availability
Availability of this API item in DayPilot editions:
| Product | Lite | Pro |
|---|---|---|
| DayPilot for JavaScript |
DayPilot