@@ -38,17 +38,17 @@ var NG_HIDE_IN_PROGRESS_CLASS = 'ng-hide-animate';
38
38
*
39
39
* ### Overriding `.ng-hide`
40
40
*
41
- * By default, the `.ng-hide` class will style the element with `display:none!important`. If you wish to change
41
+ * By default, the `.ng-hide` class will style the element with `display: none!important`. If you wish to change
42
42
* the hide behavior with ngShow/ngHide then this can be achieved by restating the styles for the `.ng-hide`
43
43
* class in CSS:
44
44
*
45
45
* ```css
46
46
* .ng-hide {
47
47
* /* this is just another form of hiding an element */
48
- * display:block!important;
49
- * position:absolute;
50
- * top:-9999px;
51
- * left:-9999px;
48
+ * display: block!important;
49
+ * position: absolute;
50
+ * top: -9999px;
51
+ * left: -9999px;
52
52
* }
53
53
* ```
54
54
*
@@ -68,13 +68,13 @@ var NG_HIDE_IN_PROGRESS_CLASS = 'ng-hide-animate';
68
68
* .my-element.ng-hide-add, .my-element.ng-hide-remove {
69
69
* /* this is required as of 1.3x to properly
70
70
* apply all styling in a show/hide animation */
71
- * transition:0s linear all;
71
+ * transition: 0s linear all;
72
72
* }
73
73
*
74
74
* .my-element.ng-hide-add-active,
75
75
* .my-element.ng-hide-remove-active {
76
76
* /* the transition is defined in the active class */
77
- * transition:1s linear all;
77
+ * transition: 1s linear all;
78
78
* }
79
79
*
80
80
* .my-element.ng-hide-add { ... }
@@ -116,29 +116,29 @@ var NG_HIDE_IN_PROGRESS_CLASS = 'ng-hide-animate';
116
116
</file>
117
117
<file name="animations.css">
118
118
.animate-show {
119
- line-height:20px;
120
- opacity:1;
121
- padding:10px;
122
- border:1px solid black;
123
- background:white;
119
+ line-height: 20px;
120
+ opacity: 1;
121
+ padding: 10px;
122
+ border: 1px solid black;
123
+ background: white;
124
124
}
125
125
126
126
.animate-show.ng-hide-add.ng-hide-add-active,
127
127
.animate-show.ng-hide-remove.ng-hide-remove-active {
128
- -webkit-transition:all linear 0.5s;
129
- transition:all linear 0.5s;
128
+ -webkit-transition: all linear 0.5s;
129
+ transition: all linear 0.5s;
130
130
}
131
131
132
132
.animate-show.ng-hide {
133
- line-height:0;
134
- opacity:0;
135
- padding:0 10px;
133
+ line-height: 0;
134
+ opacity: 0;
135
+ padding: 0 10px;
136
136
}
137
137
138
138
.check-element {
139
- padding:10px;
140
- border:1px solid black;
141
- background:white;
139
+ padding: 10px;
140
+ border: 1px solid black;
141
+ background: white;
142
142
}
143
143
</file>
144
144
<file name="protractor.js" type="protractor">
@@ -212,17 +212,17 @@ var ngShowDirective = ['$animate', function($animate) {
212
212
*
213
213
* ### Overriding `.ng-hide`
214
214
*
215
- * By default, the `.ng-hide` class will style the element with `display:none!important`. If you wish to change
215
+ * By default, the `.ng-hide` class will style the element with `display: none!important`. If you wish to change
216
216
* the hide behavior with ngShow/ngHide then this can be achieved by restating the styles for the `.ng-hide`
217
217
* class in CSS:
218
218
*
219
219
* ```css
220
220
* .ng-hide {
221
221
* /* this is just another form of hiding an element */
222
- * display:block!important;
223
- * position:absolute;
224
- * top:-9999px;
225
- * left:-9999px;
222
+ * display: block!important;
223
+ * position: absolute;
224
+ * top: -9999px;
225
+ * left: -9999px;
226
226
* }
227
227
* ```
228
228
*
@@ -239,7 +239,7 @@ var ngShowDirective = ['$animate', function($animate) {
239
239
* //a working example can be found at the bottom of this page
240
240
* //
241
241
* .my-element.ng-hide-add, .my-element.ng-hide-remove {
242
- * transition:0.5s linear all;
242
+ * transition: 0.5s linear all;
243
243
* }
244
244
*
245
245
* .my-element.ng-hide-add { ... }
@@ -281,25 +281,25 @@ var ngShowDirective = ['$animate', function($animate) {
281
281
</file>
282
282
<file name="animations.css">
283
283
.animate-hide {
284
- -webkit-transition:all linear 0.5s;
285
- transition:all linear 0.5s;
286
- line-height:20px;
287
- opacity:1;
288
- padding:10px;
289
- border:1px solid black;
290
- background:white;
284
+ -webkit-transition: all linear 0.5s;
285
+ transition: all linear 0.5s;
286
+ line-height: 20px;
287
+ opacity: 1;
288
+ padding: 10px;
289
+ border: 1px solid black;
290
+ background: white;
291
291
}
292
292
293
293
.animate-hide.ng-hide {
294
- line-height:0;
295
- opacity:0;
296
- padding:0 10px;
294
+ line-height: 0;
295
+ opacity: 0;
296
+ padding: 0 10px;
297
297
}
298
298
299
299
.check-element {
300
- padding:10px;
301
- border:1px solid black;
302
- background:white;
300
+ padding: 10px;
301
+ border: 1px solid black;
302
+ background: white;
303
303
}
304
304
</file>
305
305
<file name="protractor.js" type="protractor">
0 commit comments