UrlPattern
Sourceimport { UrlPattern } from "@prestojs/routing";
Constructor
Arguments:
Argument | Type | Description | |
---|---|---|---|
* | pattern | string | |
options An object with the properties below | |||
options.baseUrl | null|string | ||
options.mergeQuery | boolean | ||
options.query | query |
Methods
Arguments:
Argument | Type | Description | |
---|---|---|---|
kwargs | kwargs | ||
options An object with the properties below | |||
options.baseUrl | null|string | ||
options.mergeQuery | boolean | ||
options.query | query |
Returns:string
Properties
resolveOptions
SourceAn object with these properties: | |||
---|---|---|---|
Property | Type | Description | |
baseUrl | null|string | ||
mergeQuery | boolean | ||
query | query |