Module: custom-plugins/plugin-custom-download-tool

Methods

(inner) download()

Adds a dataURL href to a virtual link element and fires its click event to initiate a download
Source:

(async, inner) generateDataUrl()

Takes the current view and returns it as an image dataURL
Source:

(inner) generateFileName()

Generates a file name with information from the URL's query string (year, direction, image ID)
Source: