EmptyView.js 802 B

123456789101112131415161718192021222324
  1. 'use strict';
  2. /**
  3. * Licensed Materials - Property of IBM
  4. * IBM Cognos Products: BI Cloud (C) Copyright IBM Corp. 2017
  5. * US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
  6. */
  7. define(['../../../lib/@waca/core-client/js/core-client/ui/core/View'], function (View) {
  8. var EmptyView = View.extend({
  9. templateString: '<div class="datawidget empty-view" style="padding: 4px;text-align: center;"><div class="dropitemshere"></div>Drag data items here</div>',
  10. init: function init() {
  11. EmptyView.inherited('init', this, arguments);
  12. },
  13. getRenderer: function getRenderer() {
  14. return 'dashboard-analytics/visualizations/renderer/empty/EmptyRenderer';
  15. }
  16. });
  17. return EmptyView;
  18. });
  19. //# sourceMappingURL=EmptyView.js.map