@schneideress/dashboardframework 0.0.46 → 0.0.48

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.
@@ -1088,7 +1088,13 @@
1088
1088
  }
1089
1089
  if (changes.width && changes.width.currentValue != changes.width.previousValue ||
1090
1090
  (changes.height && changes.height.currentValue != changes.height.previousValue)) {
1091
- this.widgetElement.widgetResized(this.height, this.width);
1091
+ if (this.widgetElement) {
1092
+ /** @type {?} */
1093
+ var size = {};
1094
+ size.height = this.height;
1095
+ size.width = this.width;
1096
+ this.widgetElement.widgetResized(size);
1097
+ }
1092
1098
  }
1093
1099
  };
1094
1100
  /**