query_editor_row.ts 436 B

123456789101112131415161718
  1. ///<reference path="../../headers/common.d.ts" />
  2. import angular from 'angular';
  3. import $ from 'jquery';
  4. var module = angular.module('grafana.directives');
  5. /** @ngInject **/
  6. function queryEditorRowDirective() {
  7. return {
  8. restrict: 'E',
  9. templateUrl: 'public/app/features/panel/partials/query_editor_row.html',
  10. transclude: true,
  11. scope: {ctrl: "="},
  12. };
  13. }
  14. module.directive('queryEditorRow', queryEditorRowDirective);