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

Allow handling clickable components / three.js object instances as <a> and <button> #68

Closed
2 tasks done
vatro opened this issue Jun 12, 2022 · 0 comments
Closed
2 tasks done
Assignees
Labels
new feature New feature or request
Milestone

Comments

@vatro
Copy link
Owner

vatro commented Jun 12, 2022

Atm the preventDefault modifier makes no sense with "click" related PointerEvents because we're generating only <div> shadow DOM elements which have no default browser action.

  • generate shadow DOM <a> elements if a component / three.js object instance is / should be handles as a link. -> link prop (an Object containing <a> properties)
  • generate shadow DOM <button> elements if a component / three.js object instance is / should be handled as a button. -> button prop (an Object containing <button> properties)
@vatro vatro added the new feature New feature or request label Jun 12, 2022
@vatro vatro self-assigned this Jun 12, 2022
@vatro vatro added this to the 1.0.0-next.1 milestone Jun 12, 2022
@vatro vatro closed this as completed in abd8028 Jun 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new feature New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant