2022-04-01 09:50:31 -08:00
|
|
|
<template>
|
|
|
|
<div class="text-center">
|
2022-04-03 16:32:58 -08:00
|
|
|
<v-menu top offset-y :right="right" :left="!right" open-on-hover>
|
2022-04-01 09:50:31 -08:00
|
|
|
<template #activator="{ on, attrs }">
|
2022-04-02 16:35:53 -08:00
|
|
|
<v-btn :small="small" icon v-bind="attrs" v-on="on" @click.stop>
|
|
|
|
<v-icon :small="small"> {{ $globals.icons.help }} </v-icon>
|
2022-04-01 09:50:31 -08:00
|
|
|
</v-btn>
|
|
|
|
</template>
|
|
|
|
<v-card max-width="300px">
|
|
|
|
<v-card-text>
|
|
|
|
<slot></slot>
|
|
|
|
</v-card-text>
|
|
|
|
</v-card>
|
|
|
|
</v-menu>
|
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script lang="ts">
|
|
|
|
import { defineComponent } from "@nuxtjs/composition-api";
|
|
|
|
|
|
|
|
export default defineComponent({
|
2022-04-02 16:35:53 -08:00
|
|
|
props: {
|
|
|
|
small: {
|
|
|
|
type: Boolean,
|
|
|
|
default: false,
|
|
|
|
},
|
2022-04-03 16:32:58 -08:00
|
|
|
right: {
|
|
|
|
type: Boolean,
|
|
|
|
default: false,
|
|
|
|
},
|
2022-04-01 09:50:31 -08:00
|
|
|
},
|
|
|
|
});
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<style scoped></style>
|