@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.
@@ -386,6 +386,8 @@ var RAEvent = {
386
386
  favoriteIconRefresh: "favoriteIconRefresh",
387
387
  /**to refresh menu content */
388
388
  QuickLinkRefresh: "QuickLinkRefresh",
389
+ /**To raise widget added event */
390
+ WidgetAdded: "WidgetAdded",
389
391
  };
390
392
  /** @enum {string} */
391
393
  var RAEventKey = {
@@ -740,8 +742,6 @@ var RADashboardArea = /** @class */ (function () {
740
742
  areaContext.setAreaHeight();
741
743
  areaContext.updateWidgets();
742
744
  });
743
- console.log('gridster options are');
744
- console.log(this.options);
745
745
  };
746
746
  /** To initiate eventbus subsctiptions */
747
747
  /**
@@ -1046,6 +1046,7 @@ var RADashboardArea = /** @class */ (function () {
1046
1046
  function () {
1047
1047
  _this.updateWidgets();
1048
1048
  }), 1000);
1049
+ _this.raDashboardEventBus.publish(RAEvent.WidgetAdded, widget);
1049
1050
  }));
1050
1051
  };
1051
1052
  /** To add widget to current widget list ,invoked from copy widget window*/