Skip to content

randallmeeker/psFixedsticky

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

psFixedsticky

AngularJS Directive (wrapper) for fixedsticky.js https://github.com/filamentgroup/fixed-sticky

Will stick element to top/bottom of screen while contained within its parent.

Requires

Use

var app = angular.module('plunker', ['psFixedsticky']);

<div class="fixedstiky">Hello World</div>
or
<div fixedsticky="top/bottom">Hello World</div>

Stackable - put more than one in the same parent and they will stack ontop of each other.

Conditional - You can add fixedstickyactive (optional) attribute to determine if it should be fixed or not

<div fixedsticky="top" fixedstickyactive="true/false">Hello World</div>

Demo Please check out the git hub for fixed-sticky https://github.com/filamentgroup/fixed-sticky Use of this directive can be found here http://plnkr.co/edit/3eNlQP1pwUlfOUSbLcpA?p=preview

About

AngularJS Directive for fixedsticky.js

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published