angular_wrappers.ts 388 B

123456789101112
  1. import { react2AngularDirective } from 'app/core/utils/react2angular';
  2. import { QueryEditor } from './components/QueryEditor';
  3. export function registerAngularDirectives() {
  4. react2AngularDirective('queryEditor', QueryEditor, [
  5. 'target',
  6. 'onQueryChange',
  7. 'onExecuteQuery',
  8. ['events', { watchDepth: 'reference' }],
  9. ['datasource', { watchDepth: 'reference' }],
  10. ]);
  11. }