update demo

This commit is contained in:
dntzhang 2018-11-21 14:14:41 +08:00
parent 9eb4b7de57
commit 253eb372d6
1 changed files with 4 additions and 3 deletions

View File

@ -24,11 +24,12 @@
}
return html`
<button onClick=${() => {
<button onClick=${() => {
this.data.liked = true
this.update()
}}>Like
</button>
}}>
Like
</button>
`
}
})