Class: factory_ service:ngeoDownload

ngeo.download.module:service.factory_

new factory_()

A service to start a download for a file.

Returns:
ngeox.Download

The download function.

Methods

(inner) download(content, fileName, [opt_fileType]opt)

Parameters:
Name Type Attributes Description
content string

The file content.

fileName string

The file name.

[opt_fileType] string= <optional>

The file type. If not given, text/plain;charset=utf-8 is used.