resolve()
Resolves a relative path against the current navigation path.
resolve(target: string): string;
Notes
- Paths starting with
./are resolved relative to the current path. - Paths starting with
../navigate up one segment. - Absolute paths (not starting with
.) are returned as-is after normalization.
Parameters
- target — The path to resolve
Return value
The resolved absolute path
Related
class NavigationContext abstract
An abstract class that encapsulates the current location within the application navigation stack, part of the global application context.
