Skip to content

TypedRoute

Describes@ebitex/content-sdk 1.xSee the changelog:@ebitex/content-sdk

What RouteDefinition.useRoute returns.

TPattern extends string

context: string | undefined

The route context tag the page’s parameter carries, when it has one.


params: RouteParams<TPattern>


pattern: string | null

The delivered pattern (in the site’s own URL space, so it may be localized), or null where no route was delivered.

notFound(): void

Asks the enclosing <Experience> to render its notFound content for this address.

void