Release date: October 15, 2020
Features
-
[Scheduler]
Built-in XSS protection [docs]
Improvements
-
DayPilot.MenuBar.dispose() added
(build 4683)
-
[Calendar]
onEventResizing/onEventMoving added to TypeScript definitions (Calendar)
(build 4685)
-
[Gantt]
HTMLElement accepted instead of id in the component constructor - TypeScript
(build 4685)
-
[Calendar]
HTMLElement accepted instead of id in the component constructor - TypeScript
(build 4685)
-
[Scheduler]
HTMLElement accepted instead of id in the component constructor - TypeScript
(build 4685)
-
[Month]
HTMLElement accepted instead of id in the component constructor - TypeScript
(build 4685)
-
[Navigator]
HTMLElement accepted instead of id in the component constructor - TypeScript
(build 4685)
-
DayPilot.Calender.onEventResizing: missing args.e added
(build 4685)
-
EventData.allday? property added (TypeScript)
(build 4685)
-
[Scheduler]
DayPilot.Scheduler.onBeforeEventExport: args.textLeft and args.textRight added.
(build 4687)
-
Typed SchedulerBeforeEventExportArgs (TypeScript).
(build 4687)
-
DayPilot.MenuBar top-level items without children support onClick event (args.item, args.originalEvent).
(build 4689)
-
[Scheduler]
DayPilot.Scheduler.xssProtection property added - default value: "Enabled" (build 4691)
-
[Scheduler]
DayPilot.Scheduler.loadingLabelHtml added
(build 4691)
-
[Scheduler]
DayPilot.Scheduler.cornerText added
(build 4691)
-
DayPilot.Menu.items[].html added, .text automatically escaped
(build 4693)
Fixes
-
[Calendar]
ResizeObserver disconnecting on dispose fixed (Calendar).
(build 4686)
-
[Calendar]
DayPilot.Calendar.onEventResizing: "forbidden" CSS class should be applied for args.allowed = false (fixed).
(build 4688)
-
[Scheduler]
Auto cell width updated after row header is resized using splitter (Scheduler).
(build 4698)
API Changes
-
DayPilot.Area.text always escaped (regardless of xssProtection value)
(build 4691)
-
DayPilot.Event.text() updates html with escaped value (regardless of xssProtection value).
(build 4691)
-
DayPilot.Task.text() updates html with escaped value (regardless of xssProtection value).
(build 4691)
-
[Scheduler]
DayPilot.Scheduler.message(text, options) escapes the text to be displayed, use options.rawHtml = true to override this behavior.
(build 4691)