Skip to content

Commit

Permalink
touch events on h2
Browse files Browse the repository at this point in the history
  • Loading branch information
cnoott committed May 28, 2024
1 parent e6be926 commit 63defe2
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/routes/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,10 @@
<button on:click={handleDateBack}>
{'<'}
</button>
<h2>
<h2
on:touchstart={handleTouchStart}
on:touchend={handleTouchEnd}
>
{pathname}
</h2>
<button on:click={handleDateForward}>
Expand Down

0 comments on commit 63defe2

Please sign in to comment.