Skip to content
New issue

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

feat(pb-facsimile): added option to add download icon to trigger down… #176

Merged
merged 1 commit into from
May 15, 2024

Conversation

JoernT
Copy link
Contributor

@JoernT JoernT commented May 14, 2024

…load of current viewport. Added a demo for the feature

Example:

<pb-facsimile show-download-control="show-download-control">

will display a download icon in the bottom left of the element. Couldn't figure out how to add an icon to the builtin toolbar which would have been more preferrable but does the job for the project here.

To make it work the crossOriginPolicy property of the Viewer needed to be set. It defaults to 'anonymous' and was tested with Zuericher. An additional cors attribute allows to overwrite the default with 'use-credentials' if necessary.

…load of current viewport. Added a demo for the feature
@wolfgangmm wolfgangmm merged commit 964617a into master May 15, 2024
1 check passed
Copy link

🎉 This PR is included in version 2.23.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants