@schneideress/dashboardframework 0.0.60 → 0.0.62

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.
@@ -272,6 +272,8 @@ const RAEvent = {
272
272
  favoriteIconRefresh: "favoriteIconRefresh",
273
273
  /**to refresh menu content */
274
274
  QuickLinkRefresh: "QuickLinkRefresh",
275
+ /**To raise widget added event */
276
+ WidgetAdded: "WidgetAdded",
275
277
  };
276
278
  /** @enum {string} */
277
279
  const RAEventKey = {
@@ -621,8 +623,6 @@ class RADashboardArea {
621
623
  areaContext.setAreaHeight();
622
624
  areaContext.updateWidgets();
623
625
  });
624
- console.log('gridster options are');
625
- console.log(this.options);
626
626
  }
627
627
  /**
628
628
  * To initiate eventbus subsctiptions
@@ -868,6 +868,7 @@ class RADashboardArea {
868
868
  () => {
869
869
  this.updateWidgets();
870
870
  }), 1000);
871
+ this.raDashboardEventBus.publish(RAEvent.WidgetAdded, widget);
871
872
  }));
872
873
  }
873
874
  /**