README
@nebulars/component
tabers
- Props
参数 | 类型 | 默认值 | 说明 |
---|---|---|---|
menus | Array | [] | tab数据 |
- Events
事件名称 | 说明 | 回调参数 |
---|---|---|
change | tab被选中时触发 | 被选中的tab index |
Props
<script type="module">
import nebularsComponent from 'https://cdn.skypack.dev/@nebulars/component';
</script>
参数 | 类型 | 默认值 | 说明 |
---|---|---|---|
menus | Array | [] | tab数据 |
事件名称 | 说明 | 回调参数 |
---|---|---|
change | tab被选中时触发 | 被选中的tab index |