@@ -54,7 +54,7 @@ <h1 class="header-title">ui5-tabcontainer</h1>
54
54
55
55
< section >
56
56
< h2 > Tab Container</ h2 >
57
- < ui5-tabcontainer id ="tabContainer1 " fixed collapsed show-overflow =" true " >
57
+ < ui5-tabcontainer id ="tabContainer1 " fixed collapsed show-overflow >
58
58
< ui5-tab text ="Products " additional-text ="125 ">
59
59
</ ui5-tab >
60
60
< ui5-tab-separator > </ ui5-tab-separator >
@@ -64,7 +64,7 @@ <h2>Tab Container</h2>
64
64
</ ui5-tab >
65
65
< ui5-tab icon ="sap-icon://menu2 " text ="Keyboards " semantic-color ="Negative " additional-text ="15 ">
66
66
</ ui5-tab >
67
- < ui5-tab icon ="sap-icon://menu2 " disabled =" true " text ="Disabled " semantic-color ="Negative " additional-text ="40 ">
67
+ < ui5-tab icon ="sap-icon://menu2 " disabled text ="Disabled " semantic-color ="Negative " additional-text ="40 ">
68
68
</ ui5-tab >
69
69
< ui5-tab icon ="sap-icon://menu2 " text ="Neutral " semantic-color ="Neutral " additional-text ="40 ">
70
70
</ ui5-tab >
@@ -75,7 +75,7 @@ <h2>Tab Container</h2>
75
75
76
76
< section >
77
77
< h2 > Icon only</ h2 >
78
- < ui5-tabcontainer show-overflow =" true " id ="tabContainerIconOnly ">
78
+ < ui5-tabcontainer show-overflow id ="tabContainerIconOnly ">
79
79
< ui5-tab icon ="sap-icon://card " selected >
80
80
< ui5-button > Button 11</ ui5-button >
81
81
< ui5-button > Button 12</ ui5-button >
@@ -121,7 +121,7 @@ <h2>Icon only</h2>
121
121
122
122
< section >
123
123
< h2 > Text only</ h2 >
124
- < ui5-tabcontainer show-overflow =" true " id ="tabContainerTextOnly ">
124
+ < ui5-tabcontainer show-overflow id ="tabContainerTextOnly ">
125
125
< ui5-tab text ="Products ID " selected >
126
126
< ui5-button > Button 11</ ui5-button >
127
127
< ui5-button > Button 12</ ui5-button >
@@ -225,7 +225,7 @@ <h2>Text only</h2>
225
225
< section >
226
226
< h2 > Icon and Text</ h2 >
227
227
228
- < ui5-tabcontainer show-overflow =" true " >
228
+ < ui5-tabcontainer show-overflow >
229
229
< ui5-tab icon ="sap-icon://card " text ="Tab 1 " additional-text ="123 ">
230
230
< div style ="height: 300px ">
231
231
< h4 > Content with set height: 300px</ h4 >
@@ -245,7 +245,7 @@ <h4>Content with set height: 300px</h4>
245
245
< section >
246
246
< h2 > Icon and Text with tabLayout="Inline"</ h2 >
247
247
248
- < ui5-tabcontainer show-overflow =" true " tab-layout ="Inline ">
248
+ < ui5-tabcontainer show-overflow tab-layout ="Inline ">
249
249
< ui5-tab icon ="sap-icon://card " text ="Tab 1 " additional-text ="123 ">
250
250
< div style ="height: 300px ">
251
251
< h4 > Content with set height: 300px</ h4 >
@@ -265,7 +265,7 @@ <h4>Content with set height: 300px</h4>
265
265
< section >
266
266
< h2 > Text and additional text</ h2 >
267
267
268
- < ui5-tabcontainer show-overflow =" true " >
268
+ < ui5-tabcontainer show-overflow >
269
269
< ui5-tab text ="Tab 1 " additional-text ="additional ">
270
270
< ui5-button > Button 11</ ui5-button >
271
271
< ui5-button > Button 12</ ui5-button >
@@ -282,7 +282,7 @@ <h2>Text and additional text</h2>
282
282
< section >
283
283
< h2 > Text and additional text with tabLayout="Inline"</ h2 >
284
284
285
- < ui5-tabcontainer show-overflow =" true " tab-layout ="Inline ">
285
+ < ui5-tabcontainer show-overflow tab-layout ="Inline ">
286
286
< ui5-tab text ="Monitors " additional-text ="10 ">
287
287
< ui5-button > Button 11</ ui5-button >
288
288
< ui5-button > Button 12</ ui5-button >
@@ -299,7 +299,7 @@ <h2>Text and additional text with tabLayout="Inline"</h2>
299
299
< section >
300
300
< h2 > Tabs with input elements</ h2 >
301
301
302
- < ui5-tabcontainer show-overflow =" true " >
302
+ < ui5-tabcontainer show-overflow >
303
303
< ui5-tab text ="Tab 1 " selected >
304
304
< p > ui5-input</ p >
305
305
< ui5-input > </ ui5-input >
@@ -320,7 +320,7 @@ <h2>Result</h2>
320
320
< section class ="ui5-content-density-compact ">
321
321
< h3 > TabContainer in Compact</ h3 >
322
322
< div >
323
- < ui5-tabcontainer show-overflow =" true " >
323
+ < ui5-tabcontainer show-overflow >
324
324
< ui5-tab text ="Products ID ">
325
325
< ui5-button > Button 11</ ui5-button >
326
326
< ui5-button > Button 12</ ui5-button >
@@ -362,11 +362,58 @@ <h3>TabContainer in Compact</h3>
362
362
</ div >
363
363
</ section >
364
364
365
+
366
+ < section >
367
+ < h2 > tabs-placement=Bottom</ h2 >
368
+ < ui5-tabcontainer show-overflow tabs-placement ="Bottom ">
369
+ < ui5-tab icon ="sap-icon://card " selected >
370
+ < ui5-button > Button 11</ ui5-button >
371
+ < ui5-button > Button 12</ ui5-button >
372
+ </ ui5-tab >
373
+ < ui5-tab icon ="sap-icon://employee ">
374
+ < ui5-button > Button 3</ ui5-button >
375
+ </ ui5-tab >
376
+ < ui5-tab icon ="sap-icon://employee ">
377
+ < ui5-button > Button 3</ ui5-button >
378
+ </ ui5-tab >
379
+ < ui5-tab icon ="sap-icon://menu2 ">
380
+ < ui5-button > Button 2</ ui5-button >
381
+ </ ui5-tab >
382
+ < ui5-tab icon ="sap-icon://menu2 ">
383
+ < ui5-button > Button 2</ ui5-button >
384
+ </ ui5-tab >
385
+ < ui5-tab icon ="sap-icon://employee ">
386
+ < ui5-button > Button 3</ ui5-button >
387
+ </ ui5-tab >
388
+ < ui5-tab icon ="sap-icon://employee ">
389
+ < ui5-button > Button 3</ ui5-button >
390
+ </ ui5-tab >
391
+ < ui5-tab icon ="sap-icon://employee ">
392
+ < ui5-button > Button 3</ ui5-button >
393
+ </ ui5-tab >
394
+ < ui5-tab icon ="sap-icon://employee ">
395
+ < ui5-button > Button 3</ ui5-button >
396
+ </ ui5-tab >
397
+ < ui5-tab icon ="sap-icon://employee ">
398
+ < ui5-button > Button 3</ ui5-button >
399
+ </ ui5-tab >
400
+ < ui5-tab icon ="sap-icon://employee ">
401
+ < ui5-button > Button 3</ ui5-button >
402
+ </ ui5-tab >
403
+ < ui5-tab icon ="sap-icon://menu2 ">
404
+ < ui5-button > Button 2</ ui5-button >
405
+ </ ui5-tab >
406
+ < ui5-tab icon ="sap-icon://employee ">
407
+ < ui5-button > Button 3</ ui5-button >
408
+ </ ui5-tab >
409
+ </ ui5-tabcontainer >
410
+ </ section >
411
+
365
412
< script >
366
413
document . getElementById ( "tabContainer1" ) . addEventListener ( "ui5-tabSelect" , function ( event ) {
367
414
result . innerHTML = event . detail . tab . text ;
368
415
resultIdx . innerHTML = event . detail . tabIndex ;
369
416
} ) ;
370
417
</ script >
371
418
</ body >
372
- </ html >
419
+ </ html >
0 commit comments