• Robert Knight's avatar
    Add callback enabling client to test if side-by-side is active · c4f39963
    Robert Knight authored
    When the host page takes control of side-by-side mode by adding:
    
    ```
    sideBySide: { mode: 'manual' }
    ```
    
    To the client's config, the client needs a way to determine whether side-by-side
    mode was applied when the user clicks in the document. If it is applied, the
    sidebar should remain open, otherwise it should be closed.
    
    This PR adds an `isActive` callback to the `sideBySide` settings which the
    client will invoke when it needs to know if side-by-side is active or not.
    c4f39963
Name
Last commit
Last update
..
annotator.ts Loading commit data...
api.ts Loading commit data...
config.js Loading commit data...
lodash.debounce.d.ts Loading commit data...
pdfjs.ts Loading commit data...
port-rpc-events.d.ts Loading commit data...
process.d.ts Loading commit data...
rpc.js Loading commit data...
shared.ts Loading commit data...
sidebar.js Loading commit data...
vitalsource.ts Loading commit data...