-
-
Notifications
You must be signed in to change notification settings - Fork 719
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
Add access to the Element attributes related to scrolling #2338
Add access to the Element attributes related to scrolling #2338
Conversation
Thanks for adding these methods! They would be great to support in dioxus. Instead of exposing the browser methods directly, we could merge some of the methods into more rusty versions like we do with other event methods today. Maybe something like this: |
Should I rather use (or add new ones) the primitives defined by the https://github.com/DioxusLabs/dioxus/blob/main/packages/html/src/geometry.rs instead of euclid types directly? |
Reusing the unit type definitions from geometry would be great |
0bddca9
to
9729899
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you, this looks great!
Add the capability to access to the following Element attributes related to the scrolling: