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: button to download picture outside of ngx-lightbox #161

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

pierresh
Copy link

With this commit, we can receive an event when the end-user clicks on the Download button, and then the download of the picture can be handled in the web app, outside of ngx-lightbox, it is then possible to use an authentication token for example.

This is necessary when per example the API requires a JWT in the header
@rissom
Copy link

rissom commented Apr 16, 2024

Looks good

@FalushanSenpai
Copy link

This looks like a great feature, and I would like to get started using it as soon as possible.

@pierresh
Copy link
Author

pierresh commented May 17, 2024

Yes, it would be great if it could be merged and available on npm :)

For the time being, you could unzip and replace this folder in /node_modules/

ngx-lightbox.zip

@pierresh pierresh force-pushed the master branch 4 times, most recently from ebe9454 to 82dfb5c Compare May 24, 2024 07:02
@pierresh
Copy link
Author

Unfortunately, this library seems not maintained anymore. For those interested in this feature I created an npm package (also includes its update to Angular 17).

npm install @pierresh/ngx-lightbox

Version number match with Angular, that is easier to follow-up
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants