-
-
Save rbiggs/70659b3b66d959bcac5d5e755d6fc6d2 to your computer and use it in GitHub Desktop.
Adding an event to the Add button to send a message
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <button class="add-item" onclick={() => send({type: 'addItem'})}>Add</button> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment