|
|
|
|
|
by trafnar
998 days ago
|
|
In that case the count variable should be moved into a property of the tag. I just like putting it outside the tag because it really drives home "its just a variable". tag Counter
count = 0
<self @click=(count++)> "count: {count}"
|
|