Converts the passed content to a Blob and creates an Object URL. If the runtime platform does not support blob URLs, a base64 URL will be returned.
The life-time of the URL is connected to this instance. Free memory by either:
The contents that should be wrapped in a Blob and served with an URL. If a string is passed, text content is assumed.
The media type the content should be served with.
If set to true, always create a data URL, even if URL.createObjectURL() exists.
The URL to the contents.
Creates an Object URL from the provided Blob.
The life-time of the URL is connected to this instance. Free memory by either:
The Blob to create an URL for.
The URL to the Blob.
Revokes all blob URLs previously created with this instance.
Revokes a blob URL previously created with this instance.
If url
is not a blob URL, or was created using another instance, nothing happens.
Generated using TypeDoc
Used internally for creating and managing Blob URLs.