18 lines
484 B
Vue
18 lines
484 B
Vue
|
<script>
|
||
|
import ScrollableTabBarMixin from './ScrollableTabBarMixin'
|
||
|
import TabBarMixin from './TabBarMixin'
|
||
|
import BaseMixin from '../../_util/BaseMixin'
|
||
|
|
||
|
export default {
|
||
|
name: 'ScrollableTabBar',
|
||
|
mixins: [TabBarMixin, ScrollableTabBarMixin, BaseMixin],
|
||
|
render (h) {
|
||
|
const inkBarNode = this.getInkBarNode()
|
||
|
const tabs = this.getTabs(h)
|
||
|
const scrollbarNode = this.getScrollBarNode([inkBarNode, tabs])
|
||
|
return this.getRootNode(scrollbarNode, h)
|
||
|
},
|
||
|
}
|
||
|
</script>
|
||
|
|