|
6 | 6 | <!-- Sets initial viewport load and disables zooming -->
|
7 | 7 | <meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no">
|
8 | 8 | <link rel="stylesheet" href="../../../../dist/css/ionic.css">
|
| 9 | + <script src="../../../../dist/js/ionic.js"></script> |
| 10 | + <script src="../../../../dist/js/angular/angular.js"></script> |
| 11 | + <script src="../../../../dist/js/angular/angular-animate.js"></script> |
| 12 | + <script src="../../../../dist/js/angular/angular-route.js"></script> |
| 13 | + <script src="../../../../dist/js/angular/angular-touch.js"></script> |
| 14 | + <script src="../../../../dist/js/angular/angular-sanitize.js"></script> |
| 15 | + <script src="../../../../dist/js/ionic-angular.js"></script> |
9 | 16 | <style>
|
| 17 | + .box { |
| 18 | + width: 100%; |
| 19 | + height: 50px; |
| 20 | + color: #fff; |
| 21 | + } |
| 22 | + .box h1 { |
| 23 | + position: absolute; |
| 24 | + top: 50%; |
| 25 | + width: 100%; |
| 26 | + margin-top: -50px; |
| 27 | + |
| 28 | + color: #fff; |
| 29 | + |
| 30 | + font-size: 60px; |
| 31 | + text-align: center; |
| 32 | + font-weight: bold; |
| 33 | + } |
| 34 | + .blue { |
| 35 | + background-color: rgb(71, 138, 238); |
| 36 | + } |
| 37 | + .yellow { |
| 38 | + background-color: rgb(233, 233, 109); |
| 39 | + } |
| 40 | + .pink { |
| 41 | + background-color: rgb(233, 109, 233); |
| 42 | + } |
10 | 43 | .my-repeat-animation > .ng-enter,
|
11 | 44 | .my-repeat-animation > .ng-leave,
|
12 | 45 | .my-repeat-animation > .ng-move {
|
@@ -124,22 +157,32 @@ <h2>Nic Cage</h2>
|
124 | 157 | <i class="icon {{ item.icon }}"></i>
|
125 | 158 | {{ item.text }}
|
126 | 159 | </a>
|
| 160 | + <div class="item"> |
| 161 | + <slide-box show-pager="false"> |
| 162 | + <slide> |
| 163 | + <div class="box blue"> |
| 164 | + <h1>BLUE {{slideBox.slideIndex}}</h1> |
| 165 | + </div> |
| 166 | + </slide> |
| 167 | + <slide> |
| 168 | + <div class="box yellow"> |
| 169 | + <h1>YELLOW {{slideBox.slideIndex}}</h1> |
| 170 | + </div> |
| 171 | + </slide> |
| 172 | + <slide> |
| 173 | + <div class="box pink"><h1>PINK {{slideBox.slideIndex}}</h1></div> |
| 174 | + </slide> |
| 175 | + </slide-box> |
| 176 | + </div> |
127 | 177 |
|
128 | 178 | </list>
|
129 | 179 |
|
130 | 180 | </content>
|
131 | 181 |
|
132 | 182 | </pane>
|
133 | 183 |
|
134 |
| - <script src="../../../../dist/js/ionic.js"></script> |
135 |
| - <script src="../../../../dist/js/angular/angular.js"></script> |
136 |
| - <script src="../../../../dist/js/angular/angular-animate.js"></script> |
137 |
| - <script src="../../../../dist/js/angular/angular-route.js"></script> |
138 |
| - <script src="../../../../dist/js/angular/angular-touch.js"></script> |
139 |
| - <script src="../../../../dist/js/angular/angular-sanitize.js"></script> |
140 |
| - <script src="../../../../dist/js/ionic-angular.js"></script> |
141 | 184 | <script>
|
142 |
| - angular.module('navTest', ['ionic.ui.list', 'ionic.ui.content']) |
| 185 | + angular.module('navTest', ['ionic']) |
143 | 186 |
|
144 | 187 | .controller('TestCtrl', function($scope, $timeout) {
|
145 | 188 |
|
|
0 commit comments