Hex Core JS
    Preparing search index...

    Function useObjectURL

    • Creates a URL for the given object. Wraps the native URL.createObjectURL function with handling to revoke the URL when the object changes or the component unmounts.

      Parameters

      • obj: Blob | File | MediaSource | null | undefined

        The object for which to create a URL.

      Returns string