File tree Expand file tree Collapse file tree 3 files changed +17
-3
lines changed
components/item/test/buttons Expand file tree Collapse file tree 3 files changed +17
-3
lines changed Original file line number Diff line number Diff line change @@ -9,6 +9,10 @@ export class E2EPage {
9
9
testClick ( ev : any ) {
10
10
console . log ( 'CLICK!' , ev . target . tagName , ev . target . textContent . trim ( ) ) ;
11
11
}
12
+
13
+ testClickOutsize ( ev : any ) {
14
+ console . log ( 'CLICK OUTSIDE!' , ev . target . tagName , ev . target . textContent . trim ( ) ) ;
15
+ }
12
16
}
13
17
14
18
@Component ( {
Original file line number Diff line number Diff line change 33
33
button[ion-item] danger
34
34
</ button >
35
35
36
- < ion-item >
36
+ < ion-item (click) =" testClickOutsize($event) " >
37
37
< button ion-button item-left (click) ="testClick($event) "> Default</ button >
38
38
Inner Buttons
39
39
< button ion-button outline item-right (click) ="testClick($event) "> Outline</ button >
@@ -111,6 +111,17 @@ <h3>ng-for {{i}}</h3>
111
111
< ion-badge item-right > 260k</ ion-badge >
112
112
</ button >
113
113
114
+ < ion-item (click) ="testClickOutsize($event) ">
115
+ < div >
116
+ < button ion-button icon-only clear item-right (click) ="testClick($event) ">
117
+ < ion-icon name ="remove-circle "> </ ion-icon >
118
+ </ button >
119
+ < button ion-button icon-only clear item-right (click) ="testClick($event) ">
120
+ < ion-icon name ="add-circle "> </ ion-icon >
121
+ </ button >
122
+ </ div >
123
+ </ ion-item >
124
+
114
125
</ ion-content >
115
126
116
127
Original file line number Diff line number Diff line change @@ -156,8 +156,7 @@ textarea {
156
156
}
157
157
158
158
a ion-label ,
159
- button ion-label ,
160
- [tappable ] ion-label {
159
+ button ion-label {
161
160
pointer-events : none ;
162
161
}
163
162
You can’t perform that action at this time.
0 commit comments