Skip to content

Commit

Permalink
Updating TypeScript example with tag prop (#180)
Browse files Browse the repository at this point in the history
  • Loading branch information
rschooley committed Nov 10, 2021
1 parent 1755736 commit c41b7d4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/misc/typescript.md
Expand Up @@ -24,6 +24,7 @@ export function increaseCount(host: SimpleCounter) {

export default define<SimpleCounter>({
count: 0,
tag: 'simple-counter',
render: ({ count }) => html`
<button onclick="${increaseCount}">
Count: ${count}
Expand Down

0 comments on commit c41b7d4

Please sign in to comment.