Caplin Trader 5.1.0

Class: module:ct-dom/FileDownloaderTarget

module:ct-dom/FileDownloaderTarget(targetName)

new module:ct-dom/FileDownloaderTarget(targetName)

A target for the FileDownloader to post its download request to.

Parameters:
Name Type Description
targetName String

The name of the target element to be created.

Methods

downloadRequested()

Notifies the target that a download has been requested. This should be called after submitting any forms using this object as the target.

onDownloadFailed()

This is called when a download fails.

onDownloadPassed()

This is called when a download succeeds.

removeFileDownloader()

Removes the file downloader.