display_editor.ts 563 B

123456789101112131415161718192021222324252627
  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:
  20. "public/app/plugins/panel/heatmap/partials/display_editor.html",
  21. controller: HeatmapDisplayEditorCtrl
  22. };
  23. }