RouteResult
Describes@ebitex/content-sdk 1.xSee the changelog:@ebitex/content-sdk
The address a parameterised page was reached through. Present on a result only when the page’s
address contains a parameter (/products/{key}). It is absent for a page at a fixed address
and against a server that predates parameterised addresses, so check it before use.
Properties
Section titled “Properties”context?
Section titled “context?”
optionalcontext?:string
The route context tag the parameter node carries (an opaque dotted string such as people.person), when it has one. Absent, never null.
params
Section titled “params”params:
Record<string,string>
The value each parameter took in the requested address, decoded. Content never interprets a value: whether it names anything is for the presentation to decide.
pattern
Section titled “pattern”pattern:
string
The page’s pattern in the site’s own URL space, parameters in braces: /products/{key}. Localized when the site localizes addresses.