Created
July 28, 2021 15:23
-
-
Save DylanPiercey/331e83886082d205f3dec04acd22b3ba to your computer and use it in GitHub Desktop.
A counter component example using the Marko "Tags API"
This file contains 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
<let/count = 0/> | |
<p>You clicked ${count} times</p> | |
<button onClick() { count++ }> | |
Click me | |
</button> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment