npm i
npm run build
npm start
iiif-commons / iiif-metadata-component Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
MetadataComponent uses _data.content.copyToClipboard to set the title attribute of _$copyTextTemplate.
The property _data of MetadataComponent is initialized in the data method.
In the base class of Metadatacomponent options.data is initialized to the merged value of the data method and options.data.
Wouldn't it be better to use options.data.content.copyToClipboard?
Example: https://demosok.riksarkivet.se/bildvisning/F0001185_00006?beta=true
When copying the field Källhänvisning/Source reference, the exact info shown on screen is copied, including the "mer.../more..." text, but not with the entire bildid (image id). What should be happening is that the entire value which shows after you press "mer.../more..." including bildid should be copied.
This used to work in the previous UV-version of this function, but was changed in the transition to iiif-metadata-component.
If an anchor tag is excluded, one should be created.
When canvas or range metadata is available when navigating in the UV, it's not obvious to the user as the manifest level metadata is always displayed at the top.
In lieu of any better UI changes, I propose some kind of metadataGroupOrder
property which defaults to "manifest,sequence,range,canvas" that we can use to control this (we would in fact have the reverse of that list)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.