Trevixal API
    Preparing search index...

    Interface DownloadOptions

    Browser file helpers: hand a generated document to the user as a download, and read a chosen file back. Nothing here touches the editor; the document is passed in so an embedding app can point at an iframe's.

    interface DownloadOptions {
        data: string | Uint8Array<ArrayBufferLike> | Blob;
        mime: string;
        name: string;
    }
    Index
    data: string | Uint8Array<ArrayBufferLike> | Blob
    mime: string

    MIME type for the blob.

    name: string

    File name including extension (report.docx).