You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Return view's nodes. Note that if your template contains more than one root element, `createDocument` will return `DocumentFragment` that contains all of those nodes. If you have only one root node, it will be returned as is.
62
62
63
-
### Monkberry.prototype.update(state)
63
+
### Monkberry.prototype​.update(state)
64
64
65
65
Update rendered template with a new state. You can specify only a part of state to update or you can update the entire state.
66
66
@@ -80,11 +80,11 @@ view.update(state);
80
80
view.update({title:'Title #2'});
81
81
```
82
82
83
-
### Monkberry.prototype.remove()
83
+
### Monkberry.prototype​.remove()
84
84
85
85
Remove view's nodes from document, and put it to pool for future reuse.
0 commit comments