Skip to content

amowu/angular-skrollr-directive

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

angular-skrollr-directive

This is a AngularJS directive for skrollr (parallax scrolling library).

Requirement

Usage

Import skrollr.dir.js on your angular app page.

index.html:

<script src="js/directives/skrollr.dir.js"></script>

app.js:

var app = angular.module('app', [
  'directives.skrollr'
]);

Now you can use <div skrollr> on your element, for this example, it will be look like:

<div skrollr data-0="background-color:rgb(0,0,255);" data-500="background-color:rgb(255,0,0);">WOOOT</div>

View skrolle demo in browser

About

AngularJS directive for skrollr (parallax scrolling library)

Resources

Stars

Watchers

Forks

Packages

No packages published