Interface: RouteHashOptions
Defined in: router/use-route-hash.ts:28
The options of useRouteHash, which mean what they mean in RouteStateOptions.
Properties
| Property | Type | Default value | Description | Defined in |
|---|---|---|---|---|
clearOnDefault? | boolean | true | Removes the fragment instead of writing a value equal to the parser default. | router/use-route-hash.ts:36 |
history? | HistoryMode | 'replace' | How a write navigates. | router/use-route-hash.ts:34 |
missing? | unknown | the missing of the instance | What the ref reads without a fragment or a default. | router/use-route-hash.ts:32 |
mode? | StateMode | 'optimistic' | How the ref reads right after a write. | router/use-route-hash.ts:38 |
parser? | ParserInput | parseAsString | Turns the fragment into a value and determines the type of the ref. | router/use-route-hash.ts:30 |