lit-ui-router-ssr / client / BootstrapOptions
Interface: BootstrapOptions
Defined in: packages/lit-ui-router-ssr/src/client.ts:1017
bootstrap's options: HydrateRootOptions, plus the boot transition's seed, and the transport and onSeed handed to seed with it.
Extends
HydrateRootOptionsSeedOptions
Properties
| Property | Modifier | Type | Description | Inherited from | Defined in |
|---|---|---|---|---|---|
onAdopt? | public | AdoptReporter | Called with each served view's outcome, at the same moment as its UiViewAdoptEvent, for every view this call's walk reaches — including one the pin adopts after the provider is released. | HydrateRootOptions.onAdopt | packages/lit-ui-router-ssr/src/client.ts:142 |
onSeed? | readonly | (transition, report) => void | Called for each transition the seed checks against the payload, once its resolves are seeded: with which resolves it adopted and which run their functions. | SeedOptions.onSeed | packages/ui-router-server/dist/ssr-client.d.ts:17 |
payload? | readonly | ResolvePayload | Resolved values the document was drawn with, handed to seed from ui-router-server/ssr/client before the router starts, so the boot transition adopts them in place of running their resolve functions. It takes the place of the payload the container's signature carries. | - | packages/lit-ui-router-ssr/src/client.ts:1024 |
transport? | readonly | Readonly<Record<string, Transporter<unknown>>> | Rebuilds the values transporters carried, keyed by the names dehydrate was given them under. A resolve whose value needs a transporter it lacks, or one whose decode throws, runs its function instead. | SeedOptions.transport | packages/ui-router-server/dist/ssr-client.d.ts:11 |