angular-snapscroll icon indicating copy to clipboard operation
angular-snapscroll copied to clipboard

Add directives that can be used to control scrolling

Open joelmukuthu opened this issue 9 years ago • 1 comments

Add these directives:

  • scroll-up
  • scroll-down
  • scroll-top: a two-way bind to the scrollTop of the element
  • scroll-animation: with values: true, false or "animationDuration<number> animationEasing<string>" e.g. "400 swing". true would cause it to use the defaults: defaultSnapscrollSnapDuration and defaultSnapscrollScrollEasing

This would require some refactoring in the code to expose code that is in the snapscroll directive as services that can be shared by these directives.

joelmukuthu avatar Feb 23 '16 12:02 joelmukuthu

Scroll-related functionality has since been pulled out into a separate module https://github.com/joelmukuthu/angular-scrollie. These directives would apply there.

joelmukuthu avatar Oct 13 '16 08:10 joelmukuthu