Options
All
  • Public
  • Public/Protected
  • All
Menu

An object that resolves relative URLs.

Hierarchy

  • IResolver

Index

Properties

Methods

Properties

Optional isLocal

isLocal: (url: string) => boolean

Whether the URL should be handled by the resolver or not.

Notes

This is similar to the isLocal check in URLExt, but can also perform additional checks on whether the resolver should handle a given URL.

Type declaration

    • (url: string): boolean
    • Parameters

      • url: string

      Returns boolean

Methods

getDownloadUrl

  • getDownloadUrl(url: string): Promise<string>

resolveUrl

  • resolveUrl(url: string): Promise<string>

Generated using TypeDoc