crelte / routing
crelte
Classes
| Class | Description |
|---|---|
| BaseRoute | A Route contains information about the current page for example the url and the site |
| Request | A Request is a Route with some extra options you get a Request from the onRequest event or in a loadGlobal function. |
| Route | A Route contains information about the current page for example the url, the site and its entry. |
| Router | The Crelte Router |
| Site | A Craft Site |
Interfaces
| Interface | Description |
|---|---|
| TemplateModule | - |
Type Aliases
| Type Alias | Description |
|---|---|
| BaseRouteOptions | - |
| DelayRender | DelayRender is returned by Request.delayRender |
| RequestOptions | Options to create a Request |
| RouteOptions | - |
| RouteOrigin | RouteOrigin represents the origin of a route. This type is non-exhaustive and might expand in the future. |
| SiteFromGraphQl | - |
| UpdateRequest | Allows to easely modify a Request |
Functions
| Function | Description |
|---|---|
| shouldInterceptClick | Returns true if the click should be intercepted |