• Convert a file to a data URL, which could then be embedded in a LIT. A data URL is a string representation of a file.

    Returns

    The data URL. This is a string representation that can be used anywhere the original file would be used.

    Parameters

    • file: File

      The file to turn into a data url

    Returns Promise<string | ArrayBuffer>

Generated using TypeDoc