Options
All
  • Public
  • Public/Protected
  • All
Menu

An object that resolves relative URLs.

Hierarchy

  • IResolver

Implemented by

Index

Properties

Methods

Properties

Optional isLocal

isLocal: undefined | ((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.

Methods

getDownloadUrl

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

resolveUrl

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

Generated using TypeDoc