fix typo in RouteResolver description
This commit is contained in:
parent
a1a087c4be
commit
5e604a8241
1 changed files with 1 additions and 1 deletions
|
|
@ -266,7 +266,7 @@ m.route.prefix("/my-app")
|
||||||
|
|
||||||
### Advanced component resolution
|
### Advanced component resolution
|
||||||
|
|
||||||
Instead of mapping a component to a route, you can specify a RouteResolver object. A RouteResolver object contains a `onmatch()` method and a optionally a `view()` method.
|
Instead of mapping a component to a route, you can specify a RouteResolver object. A RouteResolver object contains a `onmatch()` method and a optionally a `render()` method.
|
||||||
|
|
||||||
```javascript
|
```javascript
|
||||||
m.route(document.body, "/", {
|
m.route(document.body, "/", {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue