• Get a path to a resource in the resources directory, relative to the current execution context (html file or worker .js file), for fetch(), <img>, <video>, etc. Pass the cross origin host name if wants to load resoruce from cross origin host.

    Parameters

    • pathRelativeToResourcesDir: string

    Returns string

Generated using TypeDoc