Practic BUI (Base UI) - v1.0.0
    Preparing search index...

    Function downloadText

    • Save text as a file through the browser's download flow.

      Parameters

      • fileName: string

        Name suggested for the downloaded file.

      • text: string

        File contents.

      • type: string = 'text/plain'

        Media type of the contents, such as text/css.

      Returns void