Socket
Socket
Sign inDemoInstall

angular-scroll-events

Package Overview
Dependencies
1
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    angular-scroll-events

Angular directives for scroll events


Version published
Weekly downloads
22
decreased by-45%
Maintainers
1
Install size
2.04 MB
Created
Weekly downloads
 

Readme

Source

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

Keywords

FAQs

Last updated on 08 Feb 2018

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc