Files
grafana/public/app/features/panel/GeneralTabCtrl.ts
Torkel Ödegaard 487fd12d66 wip: minor update
2018-11-15 07:33:59 +01:00

23 lines
440 B
TypeScript

import coreModule from 'app/core/core_module';
export class GeneralTabCtrl {
panelCtrl: any;
/** @ngInject */
constructor($scope) {
this.panelCtrl = $scope.ctrl;
}
}
/** @ngInject */
export function generalTab() {
'use strict';
return {
restrict: 'E',
templateUrl: 'public/app/features/panel/partials/general_tab.html',
controller: GeneralTabCtrl,
};
}
coreModule.directive('panelGeneralTab', generalTab);