Options
All
  • Public
  • Public/Protected
  • All
Menu

Used by OutletRouter to convert relative paths to absolute paths.

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

see

OutletRouter

Hierarchy

  • RelativePathResolver

Index

Constructors

Methods

Constructors

Methods

  • resolve(path: string, options: { relativeTo: string }): string
  • 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