angular-scroll-when

An Angular directive to dynamically scroll to any element on your page
0 people use it

angular-scroll-when Build Status

An AngularJS directive to dynamically scroll to any element on your page

Installation

via bower:

Usage

  1. Include bb.scrollWhen as a dependency for your app

  2. Add the directive to any element you want to monitor/scroll to

This is the most basic example, any time your selectedItem matches an item in your repeat, your browser will automatically scroll to that element.

comments powered by Disqus
This page was last updated over 2 years ago.