@vowel.to/client / index / RouterAdapter
Interface: RouterAdapter
Defined in: lib/vowel/types/types.ts:24
Router adapter interface for navigation
Deprecated
Use NavigationAdapter instead for the new dual-adapter architecture
Methods
navigate()
ts
navigate(path): any;Defined in: lib/vowel/types/types.ts:28
Navigate to a path
Parameters
| Parameter | Type |
|---|---|
path | string |
Returns
any
getCurrentPath()
ts
getCurrentPath(): string;Defined in: lib/vowel/types/types.ts:33
Get current path
Returns
string
getContext()?
ts
optional getContext(): any;Defined in: lib/vowel/types/types.ts:38
Optional: Get router-specific context
Returns
any
getRoutes()?
ts
optional getRoutes(): VowelRoute[];Defined in: lib/vowel/types/types.ts:43
Optional: Get available routes from the router