You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ant-design-vue/components/tabs/ScrollableInkTabBar.vue

18 lines
492 B

<script>
import InkTabBarMixin from './InkTabBarMixin'
import ScrollableTabBarMixin from './ScrollableTabBarMixin'
import TabBarMixin from './TabBarMixin'
export default {
name: 'ScrollableInkTabBar',
mixins: [TabBarMixin, InkTabBarMixin, ScrollableTabBarMixin],
render (h) {
const inkBarNode = this.getInkBarNode()
const tabs = this.getTabs(h)
const scrollbarNode = this.getScrollBarNode([inkBarNode, tabs])
return this.getRootNode(scrollbarNode, h)
},
}
</script>