Route: Reference
Reference for Route in Web Framework References. Key properties: ID, Path, Url, Exact.
Routing component for SPA pages. App Connect Routing allows you to create page routing for your Single Page Apps. It loads the content you select per each route, without full page reloading.
Inspector Property Groups
Route Properties
| Property | Type | Details |
|---|---|---|
| ID | text | Optional unique identifier for this element. Sets the element's id attribute. Keep IDs unique per page (useful for anchors, label for targets, and JavaScript hooks). Bootstrap docs: Introduction Required in common setups. Attribute: id |
| Path | text | Enter the path to be used. Example: /some/path Parameters: Named Parameters: Named parameters are defined by prefixing a colon to the parameter name (:foo). Example: /path/:id Parameter Modifiers: Optional: Parameters can be suffixed with a question mark (?) to make the parameter optional. Example: /:foo/:bar? Zero or more: Parameters can be suffixed with an asterisk (*) to denote a zero or more parameter matches. Example: /:foo* One or more: Parameters can be suffixed with a plus sign (+) to denote a one or more parameter matches. Example: /:foo+ Unnamed Parameters: It is possible to write an unnamed parameter that only consists of a matching group. It works the same as a named parameter, except it will be numerically indexed. Example: /:foo/(.*) Custom Matching Parameters: All parameters can have a custom regexp, which overrides the default match of /. For example, you can match numeric id: /path/:id(\d+) or match words like either "user" or just "u": /path/(user|u) Required in common setups. Attribute: path |
| Url | file | Choose optional content file to include when the route matches Attribute: url |
| Exact | boolean | Match the route exactly, so no additional routes with same path prefix will match after it Attribute: exact |
Dynamic Events
Show
| Event option | Type | Details |
|---|---|---|
| Action: | text | Choose the action to execute. |
Hide
| Event option | Type | Details |
|---|---|---|
| Action: | text | Choose the action to execute. |
Error
| Event option | Type | Details |
|---|---|---|
| Action: | text | Choose the action to execute. |
Unauthorized
| Event option | Type | Details |
|---|---|---|
| Action: | text | Choose the action to execute. |
Forbidden
| Event option | Type | Details |
|---|---|---|
| Action: | text | Choose the action to execute. |