Fix typo in mithril.route.md
This commit is contained in:
parent
537e78ac91
commit
9027d4ac3a
1 changed files with 2 additions and 2 deletions
|
|
@ -165,7 +165,7 @@ where:
|
|||
|
||||
#### Usage
|
||||
|
||||
You can programmatically redirec to another page. Given the example in the "Defining Routes" section:
|
||||
You can programmatically redirect to another page. Given the example in the "Defining Routes" section:
|
||||
|
||||
```javascript
|
||||
m.route("/dashboard/marysue");
|
||||
|
|
@ -222,4 +222,4 @@ void route(DOMElement element, Boolean isNew)
|
|||
|
||||
- **Boolean isInitialized**
|
||||
|
||||
the method does not run if this flag is set to true. This is to make the method compatible with virtual DOM elements' `config` attribute (see [`m()`](mithril))
|
||||
the method does not run if this flag is set to true. This is to make the method compatible with virtual DOM elements' `config` attribute (see [`m()`](mithril))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue