peopleconnectus / ember-concurrency-scroll

An Ember addon that provides a scrolling service that uses ember-concurrency to animate and manage window and element scrolling

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Improve API

TopsyCM opened this issue · comments

This would be much more useful if it were convenient to:

  • scroll to an element by specifying an arbitrary selector
  • scroll to an arbitrary position

The first case is currently supported by retrieving the element via the selector and then passing that to scrollToElement. The second case is only supported if you first get the current scroll position and then use scrollTo.