NamedUrlPatterns

Source
import { NamedUrlPatterns } from "@prestojs/routing";
NamedUrlPatterns<Patterns>

API

Constructor

new NamedUrlPatterns(urls)
Source

Arguments:

ArgumentTypeDescription
*urlsPatterns

Methods

get(name)
Source

Arguments:

ArgumentTypeDescription
*namestring
Returns:UrlPattern
reverse(name,?kwargs,?options)
Source

Arguments:

ArgumentTypeDescription
*namestring
kwargskwargs
options
An object with the properties below
options.baseUrlnull|string
options.mergeQueryboolean
options.queryquery
Returns:string

Properties

urlPatterns

Source
Patterns