Skip to content

crelte / / getRouter

Function: getRouter()

ts
function getRouter(): Router;

Get the router from the current context

Note

This only works during component initialisation.

Returns

Router