Skip to content

URL is not exposed as a global object #232

Closed
@ochrons

Description

@ochrons

Calling URL.createObjectURL() is not possible as URL is only a trait. It should be exposed as a global object for easy access to its static methods.

Workaround is to implement the object in your own code as

@js.native
object URL extends dom.URL

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions