@schneideress/dashboardframework 0.0.60 → 0.0.61

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.
@@ -576,6 +576,8 @@
576
576
  favoriteIconRefresh: "favoriteIconRefresh",
577
577
  /**to refresh menu content */
578
578
  QuickLinkRefresh: "QuickLinkRefresh",
579
+ /**To raise widget added event */
580
+ WidgetAdded: "WidgetAdded",
579
581
  };
580
582
  /** @enum {string} */
581
583
  var RAEventKey = {
@@ -930,8 +932,6 @@
930
932
  areaContext.setAreaHeight();
931
933
  areaContext.updateWidgets();
932
934
  });
933
- console.log('gridster options are');
934
- console.log(this.options);
935
935
  };
936
936
  /** To initiate eventbus subsctiptions */
937
937
  /**
@@ -1236,6 +1236,7 @@
1236
1236
  function () {
1237
1237
  _this.updateWidgets();
1238
1238
  }), 1000);
1239
+ _this.raDashboardEventBus.publish(RAEvent.WidgetAdded, widget);
1239
1240
  }));
1240
1241
  };
1241
1242
  /** To add widget to current widget list ,invoked from copy widget window*/