primevue-mirror/components/lib/dock/Dock.vue

36 lines
826 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, cx('root')];
}
},
components: {
DockSub
}
};
</script>