File tree 4 files changed +9
-3
lines changed
source/_patterns/02-components/tab-bar
4 files changed +9
-3
lines changed Original file line number Diff line number Diff line change 29
29
"http://127.0.0.1:8080/patterns/components-pagination/index.html",
30
30
"http://127.0.0.1:8080/patterns/components-sidenavi/index.html",
31
31
"http://127.0.0.1:8080/patterns/components-table/index.html",
32
+ "http://127.0.0.1:8080/patterns/components-tab-bar/index.html",
32
33
"http://127.0.0.1:8080/patterns/areas-footer/index.html",
33
34
"http://127.0.0.1:8080/patterns/areas-grid/index.html",
34
35
"http://127.0.0.1:8080/patterns/areas-header-header/areas-header-header.rendered.html",
File renamed without changes.
Original file line number Diff line number Diff line change 2
2
<div class =" cmp-tab-bar" role =" tablist" >
3
3
<!-- Pay attention to use a component wide, but component instance specific name to the following input[type="radio"] elements //-->
4
4
{{ #each tabs }}
5
- <input type =" radio" name =" cmp-tab-bar-tabs-01" id =" radio_{{ label }} " {{ #if active }} checked{{ /if }} {{ #if disabled }}
5
+ <input type =" radio" name =" cmp-tab-bar-tabs-01" id =" radio_{{ @index }} " {{ #if active }} checked{{ /if }} {{ #if disabled }}
6
6
disabled{{ /if }} >
7
- <label for =" radio_{{ label }} " role =" tab" >{{ label }} </label >
8
- <section id =" content_{{ label }} " role =" tabpanel" >
7
+ <label for =" radio_{{ @index }} " role =" tab" >{{ @index }} </label >
8
+ <section id =" content_{{ @index }} " role =" tabpanel" >
9
9
{{ content }}
10
10
</section >
11
11
{{ /each }}
Original file line number Diff line number Diff line change 346
346
"url" : " http://127.0.0.1:8080/patterns/components-table/index.html" ,
347
347
"referenceUrl" : " https://db-ui.github.io/core/patterns/components-table/index.html"
348
348
},
349
+ {
350
+ "label" : " Components – Tab Bar" ,
351
+ "url" : " http://127.0.0.1:8080/patterns/components-tab-bar/index.html" ,
352
+ "referenceUrl" : " https://db-ui.github.io/core/patterns/components-tab-bar/index.html"
353
+ },
349
354
{
350
355
"label" : " Areas - Header" ,
351
356
"url" : " http://127.0.0.1:8080/patterns/areas-header/index.html" ,
You can’t perform that action at this time.
0 commit comments