@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.
@@ -195,6 +195,7 @@ let Splitter = class Splitter extends Component {
195
195
  }
196
196
  }
197
197
  else {
198
+ this.clearTemplate();
198
199
  this.destroyPaneSettings();
199
200
  this.allBars = [];
200
201
  this.allPanes = [];
@@ -4466,6 +4467,21 @@ let DashboardLayout = class DashboardLayout extends Component {
4466
4467
  dragobj.setDragArea();
4467
4468
  });
4468
4469
  }
4470
+ /**
4471
+ * Method to update the draggable handle when draggable panel elements are bound dynamically.
4472
+ *
4473
+ * @returns void
4474
+ *
4475
+ */
4476
+ refreshDraggableHandle() {
4477
+ if (this.dragCollection && this.dragCollection.length > 0) {
4478
+ for (let i = 0; i < this.dragCollection.length; i++) {
4479
+ this.dragCollection[i].destroy();
4480
+ EventHandler.clearEvents(this.dragCollection[i].element);
4481
+ }
4482
+ this.ensureDrag();
4483
+ }
4484
+ }
4469
4485
  updateRowsHeight(row, sizeY, addRows) {
4470
4486
  if (row + sizeY >= this.rows) {
4471
4487
  this.rows = this.rows + addRows;