Inherits Controller.
Feature:
click to download current opening PDF document .
Usage:
in template:
<download-file-button @controller="file:DownloadFileController"></download-file-button>
<contextmenu-item @controller="file:DownloadFileController"></contextmenu-item>
<xbutton @controller="file:DownloadFileController"></xbutton>
in fragment config:
fragments: [{
target: 'download-file-button',
config: {
callback: UIExtension.controllers.DownloadFileController
}
}]
});