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

Add greater support in scroll_into_view #70

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

panglesd
Copy link
Contributor

Extends bindings to scroll_into_view to support a few more options:

Nearest and center scrolling, as well as support for behavior option
src/brr.mli Outdated
{- with [`Start] (default) the top of the element is align with to to the
top of the scrollable area.}
{- with [`End] the bottom of the element is aligned with the bottom of the
scrollable area.}}
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you please add a description for the new enumerants.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done in 8624ea1.

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

Successfully merging this pull request may close these issues.

2 participants