You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there a way to prevent the regular click event from firing after mouseup? Currently when you release the mouse button, this will trigger the on:click and on:longpress callbacks.
export function longpress(node: HTMLElement, duration: number): ReturnType<Action>
Creates
longpress
event when mousedown aboveduration
milliseconds.Demo: https://svelte.dev/tutorial/adding-parameters-to-actions
The text was updated successfully, but these errors were encountered: