mirror of
https://github.com/marko-js/marko.git
synced 2025-12-08 19:26:05 +00:00
render --> renderSync
This commit is contained in:
parent
7a09d14f1f
commit
b4ddfcd888
@ -51,7 +51,7 @@ You can easily `require`/`import` a single file component and interact with it u
|
|||||||
```js
|
```js
|
||||||
var myCounter = require('./src/components/my-counter');
|
var myCounter = require('./src/components/my-counter');
|
||||||
|
|
||||||
var widget = myCounter.render({
|
var widget = myCounter.renderSync({
|
||||||
value: 10
|
value: 10
|
||||||
})
|
})
|
||||||
.appendTo(document.body)
|
.appendTo(document.body)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user