display_editor.ts 504 B

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