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

tachys::html::attribute::key module does not provide Onpointer* variants #3413

Open
lpotthast opened this issue Dec 27, 2024 · 1 comment
Open

Comments

@lpotthast
Copy link
Contributor

Hi, tachys::html::attribute::key, used through leptos::attr, provides keys like "Onclick" or "Onkeydown" but does not seem to provide keys for the "Onpointer***" family of event handlers.

@lpotthast lpotthast changed the title tachys attr module has not pointer* variants tachys::html::attribute::key module does not provide Onpointer* variants Dec 27, 2024
@gbj
Copy link
Collaborator

gbj commented Dec 27, 2024

Just to clarify -- Are you talking about HTML attributes (onpointermove and so on), which can be used to add JavaScript handlers directly as HTML attributes, or are you talking about DOM events (pointermove and so on), which you could add Rust handlers for with Leptos via on:pointermove?

PRs welcome to add either: events are defined here, and attribute keys are defined here.

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

No branches or pull requests

2 participants