Presto
GitHub
Getting Started
Guides
Packages
View Model
Final Form
REST
Routing
NamedUrlPatterns
UrlPattern
useUrlQueryState
UI
UI ANTD
Util
On this page
Usage
Methods
get
reverse
Properties
urlPatterns
NamedUrlPatterns
Source
import { NamedUrlPatterns } from "@prestojs/routing";
NamedUrlPatterns
<
Patterns
>
API
Show inherited
Constructor
new NamedUrlPatterns
(
urls
)
Arguments:
Argument
Type
Description
*
urls
Patterns
Methods
get
(
name
)
Arguments:
Argument
Type
Description
*
name
string
Returns:
UrlPattern
reverse
(
name
,
?kwargs
,
?options
)
Arguments:
Argument
Type
Description
*
name
string
kwargs
kwargs
options
An object with the properties below
options.query
query
Returns:
string
Properties
urlPatterns
Source
Patterns