Interface: SplitLocation
API / @xmachines/play-router / index / SplitLocation
Defined in: packages/play-url/src/location.ts:17
The parts of one location string.
Properties
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
fragment | readonly | string | The fragment, WITH its leading #. It is "" when the location carries none. | packages/play-url/src/location.ts:23 |
pathname | readonly | string | The pathname, with no query and no fragment. | packages/play-url/src/location.ts:19 |
query | readonly | string | The query, with no leading ?. It is "" when the location carries none. | packages/play-url/src/location.ts:21 |
suffix | readonly | string | Every character behind the pathname, as the location wrote them. A caller that rebuilds a location keeps this string rather than the two parts above, because it carries the ? and the order of the two marks without a change. | packages/play-url/src/location.ts:30 |