Pages
Standard Library
Search
Entities
Url
Functions
Creates an url from the given file, which is available until the current window is closed.
File.fromString("Content", "test.html", "text/html")
|> Url.createObjectUrlFromFile()
Creates an url from the given content and type, which is available until the current window is closed.
Url.createObjectUrlFromString("Content", "text/html")
Parses the given string as an Url
.
Releases an existing object URL which was previously created.
Url.createObjectUrlFromString("Content", "text/html")
|> Url.revokeObjectUrl()