Download constructor interface

Hierarchy

  • MEUIDownloadConstructor

Constructors

Constructors

  • Creates a new download

    Parameters

    • text: string

      The button label text.

    • data: string

      The data to download. Binary formats must be in Base64.

    • Optional dataType: string

      The data type of the download. Defaults to "text/plain".

    • Optional fileName: string

      The file name of the download as suggested as the default by the browser. Defaults to "download.txt".

    Returns MEUIDownload

    A new download component.

Generated using TypeDoc