Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Expose PointerEvent #186

Merged
merged 5 commits into from
Jan 12, 2025
Merged

feat: Expose PointerEvent #186

merged 5 commits into from
Jan 12, 2025

Conversation

PuruVJ
Copy link
Owner

@PuruVJ PuruVJ commented Jan 10, 2025

This exposes event: PointerEvent on DragEventData object. This is the PointerEvent that triggered this specific drag.

One notable thing is that onDragMove and onDragEnd will report pointermove and pointerup events, however onDragStart will report pointermove itself rather than pointerdown, simply because of the threshold logic

Copy link

changeset-bot bot commented Jan 10, 2025

🦋 Changeset detected

Latest commit: f483a85

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 8 packages
Name Type
@neodrag/core Minor
@neodrag/react Minor
@neodrag/solid Minor
@neodrag/svelte Minor
@neodrag/vanilla Minor
@neodrag/vue Minor
docs Patch
demo Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link

vercel bot commented Jan 10, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
neodrag ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 10, 2025 6:14pm

Copy link

pkg-pr-new bot commented Jan 10, 2025

Open in Stackblitz

@neodrag/react

npm i https://pkg.pr.new/PuruVJ/neodrag/@neodrag/react@186

@neodrag/solid

npm i https://pkg.pr.new/PuruVJ/neodrag/@neodrag/solid@186

@neodrag/svelte

npm i https://pkg.pr.new/PuruVJ/neodrag/@neodrag/svelte@186

@neodrag/vanilla

npm i https://pkg.pr.new/PuruVJ/neodrag/@neodrag/vanilla@186

@neodrag/vue

npm i https://pkg.pr.new/PuruVJ/neodrag/@neodrag/vue@186

commit: f483a85

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant