Class: FolioDownloader

Portfolio~FolioDownloader(url, parameters, theme, scale)

new FolioDownloader(url, parameters, theme, scale)

FileDownloader construtor

Parameters:
Name Type Description
url string

A string or any other object with a stringifier — including a URL object — that provides the URL of the resource to send the request to.

parameters object

Parameters that will be serialize as a Query string

theme string

Folio theme

scale string

Folio scale

Source:

Methods

formatFileName(filename) → {string}

Format a file name to be used as a download file name / can be replaced by a child class

Parameters:
Name Type Description
filename string

the file name to format

Source:
Returns:

the file name formated

Type
string