Skip to content

g1eb/angular-scroll-events

Repository files navigation

Angular directives for scroll events

Utility library to add support for scroll-up and scroll-down events

Installation

  1. Install 'g1b.angular-scroll-events' with npm or yarn
npm install angular-scroll-events

or:

yarn add angular-scroll-events
  1. Add 'g1b.scroll-events' module to your app config
angular.module('myApp', [
  'g1b.scroll-events',
  ...
])
  1. Use 'scroll-up' and/or 'scroll-down' directive in a view
<div scroll-up="log('scroll up')">↑ Scroll Up</div>

or:

<div scroll-down="log('scroll down')">↓ Scroll Down</div>

Example

See index.html for an example implementation or click here for an interactive demo

About

Angular directives for scroll events

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •  
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy