Home > @uniformdev/project-map > Route > splitFragment
Route.splitFragment() method
Splits a path into the path portion and an optional #fragment (everything after the first #).
Variable expressions (${...}), so the fragment delimiter is the first # that falls outside of a variable expression.
Signature:
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
path |
string |
Returns:
{ path: string; fragment: string | undefined; }