mirador-disable-zoom

A Mirador 4 plugin that allows users to disable (and re-enable) zoom controls per window.

https://github.com/nakamura196/mirador-disable-zoom

Science Score: 44.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (11.1%) to scientific vocabulary

Keywords

mirador mirador-3 mirador-4 mirador-plugins
Last synced: 10 months ago · JSON representation ·

Repository

A Mirador 4 plugin that allows users to disable (and re-enable) zoom controls per window.

Basic Info
Statistics
  • Stars: 1
  • Watchers: 2
  • Forks: 1
  • Open Issues: 0
  • Releases: 0
Topics
mirador mirador-3 mirador-4 mirador-plugins
Created almost 2 years ago · Last pushed almost 2 years ago
Metadata Files
Readme Contributing Funding License Citation

README.md

mirador-disable-zoom

Node.js CI

mirador-disable-zoom is a Mirador 4 plugin that allows users to disable (and re-enable) zoom controls per window.

This plugin is based on the mirador-disable-zoom plugin by UCLA Library.

Mirador disable zoom example

When interacting with Mirador on touch devices, users report that they sometimes unintentionally change the zoom level. This plugin adds a button to each window in Mirador that a user can click/touch to disable zooming on that window, until the user does one of the following:

  • replaces the current window object with a new object (via the list of loaded manifests)
  • moves to a different canvas in the same object
  • changes the view type (BookView -> ImageView, and vice versa)

Configuration

Several configuration options are available on windows that use mirador-disable-zoom.

| Configuration | type | default | description | | -------------------- | ------- | ------- | --------------------- | | disableZoomEnabled | boolean | false | Disable zoom controls |

Example configuration:

javascript const config = { id: "demo", windows: [ { disableZoomEnabled: true, manifestId: "https://purl.stanford.edu/sn904cj3429/iiif/manifest", }, ], };

Installing mirador-disable-zoom

mirador-disable-zoom requires an instance of Mirador 4. See the Mirador wiki for examples of embedding Mirador within an application. See the live demo's index.js for an example of importing the mirador-disable-zoom plugin and configuring the adapter.

Contribute

Mirador's development, design, and maintenance is driven by community needs and ongoing feedback and discussion. Join us at our regularly scheduled community calls, on IIIF slack #mirador, or the mirador-tech and iiif-discuss mailing lists. To suggest features, report bugs, and clarify usage, please submit a GitHub issue.

Owner

  • Name: Satoru Nakamura
  • Login: nakamura196
  • Kind: user

Citation (CITATION.cff)

cff-version: 1.1.0
message: "Cite as"
authors:
  - family-names: Nakamura
    given-names: Satoru
    orcid: https://orcid.org/0000-0001-8245-7925
    website: https://researchmap.jp/nakamura.satoru?lang=en
title: "mirador-disable-zoom"

GitHub Events

Total
Last Year

Issues and Pull Requests

Last synced: about 1 year ago

All Time
  • Total issues: 0
  • Total pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Total issue authors: 0
  • Total pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels

Dependencies

.github/workflows/node.js.yml actions
  • actions/checkout v4 composite
  • actions/configure-pages v5 composite
  • actions/deploy-pages v4 composite
  • actions/setup-node v4 composite
  • actions/upload-pages-artifact v3 composite
package.json npm
  • @babel/cli ^7.24.7 development
  • @babel/core ^7.24.7 development
  • @babel/eslint-parser ^7.24.7 development
  • @babel/plugin-proposal-class-properties ^7.18.6 development
  • @babel/plugin-proposal-object-rest-spread ^7.20.7 development
  • @babel/plugin-proposal-private-property-in-object ^7.21.11 development
  • @babel/plugin-transform-regenerator ^7.24.7 development
  • @babel/plugin-transform-runtime ^7.24.7 development
  • @babel/preset-env ^7.24.7 development
  • @babel/preset-react ^7.24.7 development
  • @mui/material ^5.15.20 development
  • @pmmmwh/react-refresh-webpack-plugin ^0.5.15 development
  • @testing-library/dom ^9.3.4 development
  • @testing-library/jest-dom ^6.4.6 development
  • @testing-library/react ^14.3.1 development
  • @testing-library/user-event ^14.5.2 development
  • babel-eslint ^10.1.0 development
  • babel-jest ^24.9.0 development
  • babel-loader ^9.1.3 development
  • eslint ^8.57.0 development
  • eslint-config-airbnb ^19.0.4 development
  • eslint-config-react-app ^7.0.1 development
  • eslint-plugin-babel ^5.3.1 development
  • eslint-plugin-import ^2.29.1 development
  • eslint-plugin-jest ^27.9.0 development
  • eslint-plugin-jsx-a11y ^6.9.0 development
  • eslint-plugin-react ^7.34.3 development
  • eslint-plugin-react-hooks ^4.6.2 development
  • html-loader ^5.0.0 development
  • html-webpack-plugin ^5.6.0 development
  • install ^0.13.0 development
  • jest ^29.7.0 development
  • jest-environment-jsdom ^29.7.0 development
  • jest-puppeteer ^9.0.2 development
  • mirador 4.0.0-alpha.2 development
  • puppeteer ^21.11.0 development
  • react ^18.3.1 development
  • react-dom ^18.3.1 development
  • react-refresh ^0.14.2 development
  • terser-webpack-plugin ^5.3.10 development
  • webpack ^5.92.1 development
  • webpack-cli ^5.1.4 development
  • webpack-dev-server ^4.15.2 development
  • @emotion/babel-plugin ^11.11.0
  • @emotion/cache ^11.11.0
  • @emotion/react ^11.11.4
  • @emotion/styled ^11.11.5
  • @mui/icons-material ^5.15.20
  • lodash ^4.17.21
  • prop-types ^15.8.1
  • react-redux ^9.1.2
  • react-sizeme ^3.0.2
  • redux ^5.0.1
  • redux-thunk ^3.1.0
pnpm-lock.yaml npm
  • 1322 dependencies