lit-ui-router / RequestRouterOptions
Interface: RequestRouterOptions
Defined in: packages/lit-ui-router/src/context.ts:174
Options for requestRouter.
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
callback? | ContextCallback<UIRouterLit> | Receives every answer, the synchronous first one included, with the provider's unsubscribe when one was offered. | packages/lit-ui-router/src/context.ts:185 |
subscribe? | boolean | Ask the provider to keep calling back as the router changes; pair it with callback. <ui-router> answers once and hands back a no-op unsubscribe, since it does not swap routers. | packages/lit-ui-router/src/context.ts:180 |