Expand all

DownloadDialog

Represents the file download dialog and the link to open it.

Constructor

new DownloadDialog($container, $openButton) #

Parameters:

Name Type Description
$container jQuery

the element to which the dialog will be appended

$openButton jQuery

the button which opens the dialog. Only used for positioning.

Source:

Methods

attach() #

Registers listeners.

Source:
Registers listeners.

closeDialog() #

Closes the download dialog.

Source:
Closes the download dialog.

openDialog() #

Opens a dialog with information about file download.

Source:
Opens a dialog with information about file download.

set(image) #

Sets data needed by contained tabs and makes dialog launch link visible.

Parameters:

Name Type Description
image ImageModel
Source:
Sets data needed by contained tabs and makes dialog launch link visible.

Events

mmv-download-closed() #

Fired when the dialog is closed.

Source:
Fired when the dialog is closed.

mmv-download-opened() #

Fired when the dialog is opened.

Source:
Fired when the dialog is opened.