display_editor.ts 558 B

1234567891011121314151617181920212223242526
  1. ///<reference path="../../../headers/common.d.ts" />
  2. export class HeatmapDisplayEditorCtrl {
  3. panel: any;
  4. panelCtrl: any;
  5. /** @ngInject */
  6. constructor($scope) {
  7. $scope.editor = this;
  8. this.panelCtrl = $scope.ctrl;
  9. this.panel = this.panelCtrl.panel;
  10. this.panelCtrl.render();
  11. }
  12. }
  13. /** @ngInject */
  14. export function heatmapDisplayEditor() {
  15. 'use strict';
  16. return {
  17. restrict: 'E',
  18. scope: true,
  19. templateUrl: 'public/app/plugins/panel/heatmap/partials/display_editor.html',
  20. controller: HeatmapDisplayEditorCtrl,
  21. };
  22. }