File tree Expand file tree Collapse file tree 2 files changed +13
-3
lines changed
ionic/components/show-hide-when Expand file tree Collapse file tree 2 files changed +13
-3
lines changed Original file line number Diff line number Diff line change 5
5
6
6
// Applied by the showWhen directive
7
7
.hidden-show-when {
8
- display : none ;
8
+ display : none !important ;
9
9
}
10
10
11
11
// Applied by the hideWhen directive
12
12
.hidden-hide-when {
13
- display : none ;
13
+ display : none !important ;
14
14
}
Original file line number Diff line number Diff line change 1
1
2
- < ion-toolbar > < ion-title > Show/Hide When</ ion-title > </ ion-toolbar >
2
+ < ion-toolbar >
3
+ < ion-title > Show/Hide When</ ion-title >
4
+ < ion-buttons end >
5
+ < button showWhen ="ios "> iOS</ button >
6
+ < button showWhen ="windows "> Windows</ button >
7
+ < button showWhen ="android "> Android</ button >
8
+ </ ion-buttons >
9
+ </ ion-toolbar >
3
10
4
11
5
12
< ion-content padding >
13
+ < button showWhen ="ios "> iOS</ button >
14
+ < button showWhen ="windows "> Windows</ button >
15
+ < button showWhen ="android "> Android</ button >
6
16
7
17
< p showWhen ="ios " style ="background:blue; color:white ">
8
18
showWhen="ios"
You can’t perform that action at this time.
0 commit comments