# 17 Better know a framework: scroll position binding


#1

Aurelia has a not well known feature: two way scroll position binding. You can use it simply via scrolltop.bind or scrollleft.bind:

<div
  class="container-with-lot-of-content"
  scrolltop.bind="ctScrollPosition">
 ... lot of content
</div>

Online playground:


#2

Man,. this is awesome. How did you find out? Thanks.


#3

By creating PR :smile: Join me!