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 ScrollTo method to Control<TOwner> #79

Closed
YevgeniyShunevych opened this issue Sep 19, 2017 · 0 comments
Closed

Add ScrollTo method to Control<TOwner> #79

YevgeniyShunevych opened this issue Sep 19, 2017 · 0 comments
Assignees
Labels
Milestone

Comments

@YevgeniyShunevych
Copy link
Member

YevgeniyShunevych commented Sep 19, 2017

Add method to Control<TOwner>:

public TOwner ScrollTo();

Behaviors

Add scroll behavior attribute classes:

  • ScrollBehaviorAttribute (base) - can be inherited for custom scrolling behavior.
  • ScrollUsingMoveToElementAttribute (used by default) - performs Actions.MoveToElement(IWebElement) action.
  • ScrollUsingScrollIntoViewAttribute - performs JavaScript element.scrollIntoView(true) function.

Trigger Events

Add BeforeScroll and AfterScroll values to TriggerEvents enum. ScrollTo method executes corresponding triggers.

@YevgeniyShunevych YevgeniyShunevych added this to the 0.14.0 milestone Sep 19, 2017
@YevgeniyShunevych YevgeniyShunevych self-assigned this Sep 19, 2017
@YevgeniyShunevych YevgeniyShunevych changed the title Add ScrollTo method to Control`1 Add ScrollTo method to Control<TOwner> Sep 19, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

1 participant