TypedRoute
Describes@ebitex/content-sdk 1.xSee the changelog:@ebitex/content-sdk
What RouteDefinition.useRoute returns.
Type Parameters
Section titled “Type Parameters”TPattern
Section titled “TPattern”TPattern extends string
Properties
Section titled “Properties”context
Section titled “context”context:
string|undefined
The route context tag the page’s parameter carries, when it has one.
params
Section titled “params”params:
RouteParams<TPattern>
pattern
Section titled “pattern”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.
Methods
Section titled “Methods”notFound()
Section titled “notFound()”notFound():
void
Asks the enclosing <Experience> to render its notFound content for this address.
Returns
Section titled “Returns”void