NamedUrlPatterns

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

API

Constructor

new NamedUrlPatterns(urls)

Arguments:

ArgumentTypeDescription
*urlsPatterns

Methods

get(name)

Arguments:

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

Arguments:

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

Properties

urlPatterns

Source
Patterns