Y
Hacker News
new
|
ask
|
show
|
jobs
by
698969
926 days ago
The calling location has been omitted from the snippet. You don't need to do anything special to call it, just `increment()` wherever it's in scope.
`<button on:click={() => increment()}>+</button>`