mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
23 lines
440 B
TypeScript
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);
|