docs and macro fix
This commit is contained in:
parent
98c413b55b
commit
cf3b77c161
8 changed files with 84 additions and 73 deletions
|
|
@ -31,7 +31,7 @@ name("Mary"); //Mary
|
|||
var b = name(); //b == "Mary"
|
||||
```
|
||||
|
||||
It can be used in conjunction with [`m.withAttr`](mithril.withattr.md) to implement data binding in the view-to-model direction and to provide uniform data access for model entity properties.
|
||||
It can be used in conjunction with [`m.withAttr`](mithril.withAttr.md) to implement data binding in the view-to-model direction and to provide uniform data access for model entity properties.
|
||||
|
||||
```javascript
|
||||
//a contrived example of bi-directional data binding
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue