We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi -
I'd like to simply get the component that is being grabbed. In the readme, it says that that component will have a 'grabbed' attribute set.
When I run the following code (registering xbuttondown), I don't see the txt component changing, and in fact this code never runs.
const txt = document.getElementById("txt"); for (let item of items) { if (item.hasAttribute('grabbed')) { txt.setAttribute("value", item.id); } }
The text was updated successfully, but these errors were encountered:
I may be wrong but why dont you use the grab-start grab-end events?
Sorry, something went wrong.
hi! not sure if you've figured out your issue but you might want to try item.is('grabbed')'
item.is('grabbed')'
No branches or pull requests
Hi -
I'd like to simply get the component that is being grabbed. In the readme, it says that that component will have a 'grabbed' attribute set.
When I run the following code (registering xbuttondown), I don't see the txt component changing, and in fact this code never runs.
The text was updated successfully, but these errors were encountered: