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

Include new download action button for initial preview thumbnails #1070

Closed
kartik-v opened this issue Sep 3, 2017 · 1 comment
Closed

Include new download action button for initial preview thumbnails #1070

kartik-v opened this issue Sep 3, 2017 · 1 comment

Comments

@kartik-v
Copy link
Owner

kartik-v commented Sep 3, 2017

New properties:

  • initialPreviewDownloadUrl (can be overridden by initialPreviewConfig to provide a separate downloadUrl for each thumbnail) - when one of them is set a download button will be shown. The url will be triggered for download and the filename for download will be displayed via filename or caption setting within initialPreviewConfig.
  • new layout template layoutTemplates.actionDownload available to render the download button
  • fileActionSettings includes three new properties downloadIcon, downloadClass, and downloadTitle

Will resolve better #606, #774, #1038.

@kartik-v
Copy link
Owner Author

kartik-v commented Sep 9, 2017

Resolved via updates to release v4.4.4.

@kartik-v kartik-v closed this as completed Sep 9, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant