@syncfusion/ej2-layouts 26.2.4 → 26.2.9

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.
@@ -218,6 +218,7 @@ var Splitter = /** @__PURE__ @class */ (function (_super) {
218
218
  }
219
219
  }
220
220
  else {
221
+ this.clearTemplate();
221
222
  this.destroyPaneSettings();
222
223
  this.allBars = [];
223
224
  this.allPanes = [];
@@ -4546,6 +4547,21 @@ var DashboardLayout = /** @__PURE__ @class */ (function (_super) {
4546
4547
  dragobj.setDragArea();
4547
4548
  });
4548
4549
  };
4550
+ /**
4551
+ * Method to update the draggable handle when draggable panel elements are bound dynamically.
4552
+ *
4553
+ * @returns void
4554
+ *
4555
+ */
4556
+ DashboardLayout.prototype.refreshDraggableHandle = function () {
4557
+ if (this.dragCollection && this.dragCollection.length > 0) {
4558
+ for (var i = 0; i < this.dragCollection.length; i++) {
4559
+ this.dragCollection[i].destroy();
4560
+ EventHandler.clearEvents(this.dragCollection[i].element);
4561
+ }
4562
+ this.ensureDrag();
4563
+ }
4564
+ };
4549
4565
  DashboardLayout.prototype.updateRowsHeight = function (row, sizeY, addRows) {
4550
4566
  if (row + sizeY >= this.rows) {
4551
4567
  this.rows = this.rows + addRows;