pdf-preview-controller.js 624 B

1234567891011121314151617
  1. import App from '../../../base'
  2. import { react2angular } from 'react2angular'
  3. import PdfPreview from '../components/pdf-preview'
  4. import { rootContext } from '../../../shared/context/root-context'
  5. import PdfSynctexControls from '../components/pdf-synctex-controls'
  6. import { DetacherSynctexControl } from '../components/detach-synctex-control'
  7. App.component('pdfPreview', react2angular(rootContext.use(PdfPreview), []))
  8. App.component(
  9. 'pdfSynctexControls',
  10. react2angular(rootContext.use(PdfSynctexControls), [])
  11. )
  12. App.component(
  13. 'detacherSynctexControl',
  14. react2angular(rootContext.use(DetacherSynctexControl), [])
  15. )