Skip to content

Commit

Permalink
comment creation functions in quick example
Browse files Browse the repository at this point in the history
  • Loading branch information
beenotung committed May 21, 2023
1 parent 3b57502 commit 322e89e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ watch(() => {
password.type = showPw.checked ? 'text' : 'password'
})

// create new element or text node, then proxy on it
let nameInput = input({ placeholder: 'guest', id: 'visitor-name' })
let nameText = text()

Expand Down

0 comments on commit 322e89e

Please sign in to comment.