Cartographer User and Technical Documentation
Home
User Docs
Technical Docs
Home
User Docs
Technical Docs
  • User Documentation
    • Introduction
    • Cartographer App
    • User Interface
    • Actions
  • Technical Documentation
    • Components

      • AppFooter Component
      • AppHeader Component
      • AppSidebar Component
      • ContentPreviewMdiv Component
      • Content Preview Measure
      • Content Preview Pane
      • ImageSelection Modal
      • LoadGitModal Component
      • LoadIIIFModal Component
      • LoadXMLModal Component
      • MainMenu Component
      • MeasureModal Component
      • MdivModal Component
      • OsdComponent Component
      • PageImportModal Component
      • PagesListEntry Component
      • PagesModal Component
    • Store
      • Vuex Store (src/store/index.js)
    • Tools
      • IIIF Tools (src/tools/iiif.js)
      • MEI Mapping Tools (src/tools/meimapping.js)

LoadIIIFModal Component

Displays a modal dialog for importing a IIIF manifest URL.


Overview

The LoadIIIFModal component:

  • Shows a modal dialog for the user to input a IIIF manifest URL.
  • Allows the user to autofill a test IIIF manifest URL.
  • On confirmation, triggers an import action and closes the modal.
  • Uses Vuex store for state management and actions.

Layout

  • Header: Modal title and close button.
  • Body: Input field for the IIIF manifest URL, description, and a button to autofill a test URL.
  • Footer: Cancel and Import buttons.

Props

None


Data

NameTypeDescription
testUriStringExample IIIF manifest URL for autofill

Methods

NameDescription
useTestUriAutofills the input with a test IIIF manifest URL
mainTriggers import action if the input is a valid URL, then closes the modal
closeModalCloses the modal dialog

Example

<LoadIIIFModal />
Prev
LoadGitModal Component
Next
LoadXMLModal Component