Skip to content

jonasantonelli/angular-prevent-scroll

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Angular Prevent Scroll

Directive Prevent Scroll


This directive makes the treatment of the scrolls, so that work independently of each other.

Download Angular Prevent Scroll (v.0.1.0)

Get Started :

  • Add jquery.js, angular.js, prevent-scroll.directive.js to your code:
<script src="jquery.js"></script>
<script src="angular.js"></script>
<script src="prevent-scroll.directive.js"></script>
  • Add 'ja.preventscroll' as a module dependency to your app: angular.module('app', ['ja.preventscroll'])

  • Add a prevent-scroll attribute to your element content.

<div prevent-scroll >
Content...
</div>

About

This directive makes the treatment of the scrolls, so that work independently of each other.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published