Skip to content

lit-ui-router / getScopedRouter

Variable: getScopedRouter ​

ts
const getScopedRouter: () => 
  | UIRouter
  | undefined;

Defined in: packages/lit-ui-router/src/context.ts:491

Returns the router the innermost enclosing `withRouterSync` call scoped, or undefined outside one.

Returns ​

| UIRouter | undefined