Skip to content
Snippets Groups Projects
Select Git revision
  • 62af2963142422b59d5b7686ad87264993e1d953
  • main default
  • 35-cgu
  • 34-peertube-support
  • 27-add-autoplay-to-iframe
  • 33-bug-on-youtube-embed-urls
  • RC-Rekall-v1.1-fix_lpo
  • tuleap-140-go-back-to-my-capsules-page-when-i-m-on-capsule-preview-page
  • RC-Rekall-v1.2-fix10
  • RC-Rekall-v1.2-fix9
  • RC-Rekall-v1.2-fix8
  • RC-Rekall-v1.2-fix7
  • RC-Rekall-v1.2-fix6
  • RC-Rekall-v1.2-fix5
  • RC-Rekall-v1.2-fix4
  • RC-Rekall-v1.2-fix3
  • RC-Rekall-v1.2-fix2
  • RC-Rekall-v1.2-fix1
  • RC-Rekall-v1.1-fix-3
  • RC-Rekall-v1.1-fix-2
  • RC-Rekall-v1.1-fix-1
  • RC-Rekall-v1.1-delivered
  • preprod20220209-1535
23 results

Capsule.php

Blame
  • NOTE: This README reflects the in development version of Mirador 3. For previous versions, please reference that release's README directly. Latest 2.x release: v.2.7.0

    Mirador

    Build Status codecov

    For Mirador Users

    You can quickly use and configure Mirador by remixing the mirador-start Glitch.

    Adding translations to Mirador

    For help with adding a translation, see src/locales/README.md

    Running Mirador locally

    Mirador local development requires nodejs to be installed.

    1. Run npm install to install the dependencies.

    Starting the project

    $ npm start

    Then navigate to http://127.0.0.1:4444/

    Instantiating Mirador

    var miradorInstance = Mirador.viewer({
      id: 'mirador' // id selector where Mirador should be instantiated
    });
    
    > miradorInstance
    { actions, store }

    Example Action

    Add a window:

    store.dispatch(actions.addWindow());

    To focus a window run:

    store.dispatch(actions.focusWindow('window-1'))

    Check current state

    store.getState()

    Running the tests

    $ npm test # For headless CI=true npm test

    or to continually watch the source files

    $ npm run test:watch

    Linting the project

    $ npm run lint

    Debugging

    Useful browser extensions for debugging/development purposes