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

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