Skip to content

lit-ui-router-ssr / client / BootstrapOptions

Interface: BootstrapOptions ​

Defined in: packages/lit-ui-router-ssr/src/client.ts:959

bootstrap's options: HydrateRootOptions, plus the boot transition's seed and the transport handed to seed with it.

Extends ​

Properties ​

PropertyModifierTypeDescriptionInherited fromDefined in
onAdopt?publicAdoptReporterCalled 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.onAdoptpackages/lit-ui-router-ssr/src/client.ts:128
payload?readonlyResolvePayloadResolved 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:966
transport?readonlyReadonly<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.transportpackages/ui-router-server/dist/ssr-client.d.ts:11