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

No mention of @interactjs/pointer-events in the npm streamlined installation part of the docs #1042

Open
WindySpoon opened this issue May 29, 2024 · 0 comments

Comments

@WindySpoon
Copy link

Expected behavior

@interactjs/pointer-events should be listed in the npm-streamlined part of the docs.

Actual behavior

@interactjs/pointer-events is not listed. It is needed for pointerEvent listeners such as this one:

interact(target).on('hold', function (event) {
  console.log(event.type, event.target)
})

Solution

npm install @interactjs/pointer-events
import '@interactjs/pointer-events';

System configuration

interact.js version: 1.10.27
Browser name and version: Firefox 126.0 (64-bit)
Operating System: Windows 10

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

No branches or pull requests

1 participant