36 lines
831 B
Vue
36 lines
831 B
Vue
<template>
|
|
<div :class="containerClass" :style="style" v-bind="ptm('root')" data-pc-name="dock">
|
|
<DockSub
|
|
:model="model"
|
|
:templates="$slots"
|
|
:exact="exact"
|
|
:tooltipOptions="tooltipOptions"
|
|
:position="position"
|
|
:menuId="menuId"
|
|
:aria-label="ariaLabel"
|
|
:aria-labelledby="ariaLabelledby"
|
|
:tabindex="tabindex"
|
|
:pt="pt"
|
|
:unstyled="unstyled"
|
|
></DockSub>
|
|
</div>
|
|
</template>
|
|
|
|
<script>
|
|
import BaseDock from './BaseDock.vue';
|
|
import DockSub from './DockSub.vue';
|
|
|
|
export default {
|
|
name: 'Dock',
|
|
extends: BaseDock,
|
|
computed: {
|
|
containerClass() {
|
|
return [this.class, this.cx('root')];
|
|
}
|
|
},
|
|
components: {
|
|
DockSub
|
|
}
|
|
};
|
|
</script>
|