getFileAsDataURL | WebHare Platform SDK
WebHare Platform SDK
    Preparing search index...

    Function getFileAsDataURL

    • Convert a file to a data: URL

      Parameters

      • file: File

        The file to convert

      Returns Promise<string>

      A promise that resolves to the data: URL