Cavemansspa patch 1 (#2696)
This commit is contained in:
parent
f1c6a5794a
commit
718650dc87
1 changed files with 1 additions and 1 deletions
|
|
@ -58,7 +58,7 @@ You can only have one `m.route` call per application.
|
|||
Argument | Type | Required | Description
|
||||
---------------------- | ---------------------------------------- | -------- | ---
|
||||
`root` | `Element` | Yes | A DOM element that will be the parent node to the subtree
|
||||
`defaultRoute` | `String` | Yes | The route to redirect to if the current URL does not match a route
|
||||
`defaultRoute` | `String` | Yes | The route to redirect to if the current URL does not match a route. Note, this is not the initial route. Initial route will be your address bar's url.
|
||||
`routes` | <code>Object<String,Component|RouteResolver></code> | Yes | An object whose keys are route strings and values are either components or a [RouteResolver](#routeresolver)
|
||||
**returns** | | | Returns `undefined`
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue