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)

MdivModal Component

Displays a modal dialog for viewing and editing the current mdiv (musical division).


Overview

The MdivModal component:

  • Shows a modal dialog with the current mdiv's index and ID.
  • Allows editing the mdiv label via a text input.
  • Modal can be closed with the Close button or overlay.
  • Uses Vuex store for state management and actions.

Layout

  • Header: Modal title with movement index and close button.
  • Body: Shows mdiv ID and editable label input.
  • Footer: Close button.

Props

None


Computed Properties

NameDescription
currentMdivReturns the current mdiv object from the store
mdivLabelTwo-way binding for the mdiv label

Methods

NameDescription
closeModalCloses the modal dialog

Example

<MdivModal />
Prev
MeasureModal Component
Next
OsdComponent Component