Used by OutletRouter to convert relative paths to absolute paths.

Replace this bean to use a different relative path resolution strategy.

Constructors

Methods

Constructors

Methods

  • Converts the given relative path into a navigable URL with relative navigational symbols like /, ./, or ../ resolved.

    Parameters

    • path: string

      Specifies the path which to convert into an absolute path.

    • options: { relativeTo: string }

      Specifies to which url the given path is relative to.

    Returns string

    the absolute path.