We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
To get the parent independent of the iiif version I am using the following code:
if (manifestoData.context === 'http://iiif.io/api/collection/2/context.json') { manifestData.parent = manifestoData.getProperty('within'); } else if (manifestoData.context === 'http://iiif.io/api/presentation/3/context.json') { manifestData.parent = manifestoData.getProperty('partOf'); }
Is there a way without the context check?
I tried manifestData.parentCollection but it was undefined.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
To get the parent independent of the iiif version I am using the following code:
Is there a way without the context check?
I tried manifestData.parentCollection but it was undefined.
The text was updated successfully, but these errors were encountered: