Skip to content

Commit 3734362

Browse files
update example
1 parent c605d12 commit 3734362

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

packages/ketchup/src/tab-bar.html

+14
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ <h4>Events testing</h4>
4545
<kup-tab-bar id="event-tabbar"></kup-tab-bar>
4646
<kup-tab-bar></kup-tab-bar>
4747
<kup-tab-bar></kup-tab-bar>
48+
<kup-tab-bar></kup-tab-bar>
4849

4950
<script>
5051
let tabBar = document.getElementsByTagName('kup-tab-bar')[0];
@@ -120,6 +121,19 @@ <h4>Events testing</h4>
120121
active: false,
121122
},
122123
];
124+
let tabBar4 = document.getElementsByTagName('kup-tab-bar')[3];
125+
tabBar4.data = [
126+
{
127+
id: '1',
128+
value: 'Favorites',
129+
active: true,
130+
},
131+
{
132+
id: '2',
133+
value: 'Alarm clock',
134+
active: false,
135+
},
136+
];
123137
</script></body
124138
>
125139
</html>

0 commit comments

Comments
 (0)