File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change 1
1
# Angular sticky navigation directive
2
+ ![ Angular sticky navigation directive demo] ( http://cdn.makeagif.com/media/9-14-2015/D7S9Ra.gif )
3
+
4
+
2
5
### [ Quick Demo] ( http://ng-milk.github.io/angular-sticky-navigation-directive/ )
3
6
Angular directive to make a sticky element, read about it on [ here] ( https://ngmilk.rocks/2015/04/09/angularjs-sticky-navigation-directive/ ) .
4
7
It will add a ` ng-sticky-fixed ` class whenever your navigation is not visible on the viewport (therefore it will make it visible & sticky).
5
8
It's up to you to style the class properly, see the example for more.
6
9
10
+
7
11
## Usage
8
12
1 . Include ` ng-sticky.js ` .
9
13
2 . Add ` dm.stickyNav ` as a dependency to your app.
10
14
3 . Profit!
11
15
16
+
12
17
## Bower
13
18
Installable via ` bower ` :
14
19
You can’t perform that action at this time.
0 commit comments