Used by OutletRouter to convert relative paths to absolute paths.

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

Hierarchy

  • RelativePathResolver

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.

      • relativeTo: string

    Returns string

    the absolute path.

Generated using TypeDoc