@syncfusion/ej2-schedule 29.2.8 → 29.2.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -27431,7 +27431,13 @@ var AgendaBase = /** @__PURE__ @class */ (function (_super) {
27431
27431
  moduleName: 'agenda',
27432
27432
  listClass: this.parent.activeView.viewClass,
27433
27433
  itemClass: this.parent.activeView.viewClass,
27434
- template: "<div class=\"" + AGENDA_NO_EVENT_CLASS + "\">" + this.parent.localeObj.getConstant('noEvents') + "</div>"
27434
+ template: function (data) {
27435
+ var div = createElement('div', {
27436
+ className: AGENDA_NO_EVENT_CLASS,
27437
+ innerHTML: data.subject
27438
+ });
27439
+ return div;
27440
+ }
27435
27441
  });
27436
27442
  if (listElement.querySelector('.e-agenda-item').children.length === 0) {
27437
27443
  listElement.firstElementChild.appendChild(createElement('div', { className: AGENDA_NO_EVENT_CLASS, innerHTML: this.parent.localeObj.getConstant('noEvents') }));