Skip to content

Commit 4ece469

Browse files
committed
test(checkbox): add more examples to item test
1 parent e08d608 commit 4ece469

File tree

1 file changed

+54
-0
lines changed

1 file changed

+54
-0
lines changed

core/src/components/checkbox/test/item/index.html

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,15 @@
4949
<ion-content id="content" class="ion-padding">
5050
<h1>Placement Start</h1>
5151
<div class="grid">
52+
<div class="grid-item">
53+
<h2>Default Justify</h2>
54+
<ion-list>
55+
<ion-item>
56+
<ion-checkbox label-placement="start">Enable Notifications</ion-checkbox>
57+
</ion-item>
58+
</ion-list>
59+
</div>
60+
5261
<div class="grid-item">
5362
<h2>Justify Start</h2>
5463
<ion-list>
@@ -79,6 +88,15 @@ <h2>Justify Space Between</h2>
7988

8089
<h1>Placement End</h1>
8190
<div class="grid">
91+
<div class="grid-item">
92+
<h2>Default Justify</h2>
93+
<ion-list>
94+
<ion-item>
95+
<ion-checkbox label-placement="end">Enable Notifications</ion-checkbox>
96+
</ion-item>
97+
</ion-list>
98+
</div>
99+
82100
<div class="grid-item">
83101
<h2>Justify Start</h2>
84102
<ion-list>
@@ -109,6 +127,15 @@ <h2>Justify Space Between</h2>
109127

110128
<h1>Placement Fixed</h1>
111129
<div class="grid">
130+
<div class="grid-item">
131+
<h2>Default Justify</h2>
132+
<ion-list>
133+
<ion-item>
134+
<ion-checkbox label-placement="fixed">Enable Notifications</ion-checkbox>
135+
</ion-item>
136+
</ion-list>
137+
</div>
138+
112139
<div class="grid-item">
113140
<h2>Justify Start</h2>
114141
<ion-list>
@@ -139,6 +166,15 @@ <h2>Justify Space Between</h2>
139166

140167
<h1>Placement Stacked</h1>
141168
<div class="grid">
169+
<div class="grid-item">
170+
<h2>Default Align</h2>
171+
<ion-list>
172+
<ion-item>
173+
<ion-checkbox label-placement="stacked">Enable Notifications</ion-checkbox>
174+
</ion-item>
175+
</ion-list>
176+
</div>
177+
142178
<div class="grid-item">
143179
<h2>Align Start</h2>
144180
<ion-list>
@@ -190,6 +226,24 @@ <h1>Multiline Label</h1>
190226
</ion-checkbox>
191227
</ion-item>
192228
</div>
229+
<div class="grid-item">
230+
<ion-item>
231+
<ion-checkbox label-placement="end">
232+
<ion-label class="ion-text-wrap">
233+
Enable Notifications Enable Notifications Enable Notifications
234+
</ion-label>
235+
</ion-checkbox>
236+
</ion-item>
237+
</div>
238+
<div class="grid-item">
239+
<ion-item>
240+
<ion-checkbox label-placement="end" alignment="start">
241+
<ion-label class="ion-text-wrap">
242+
Enable Notifications Enable Notifications Enable Notifications
243+
</ion-label>
244+
</ion-checkbox>
245+
</ion-item>
246+
</div>
193247
</div>
194248
</ion-content>
195249
</ion-app>

0 commit comments

Comments
 (0)