NavigationAPI
Reference — NavigationAPI in the Mutka module API.
Interface: NavigationAPI
Defined in: types.ts:58
Properties
canGoBack
canGoBack: boolean;Defined in: types.ts:68
Whether there is a previous entry to go back to
canGoForward
canGoForward: boolean;Defined in: types.ts:70
Whether there is a next entry to go forward to
goBack
goBack: () => void;Defined in: types.ts:62
Go back one step in history
Returns
void
goForward
goForward: () => void;Defined in: types.ts:64
Go forward one step in history
Returns
void
goUp
goUp: () => void;Defined in: types.ts:66
Navigate to the parent of the current directory
Returns
void
navigate
navigate: (path) => void;Defined in: types.ts:60
Navigate to a directory, adding it to the history stack
Parameters
| Parameter | Type |
|---|---|
path | string |
Returns
void