All files / src/components/UI my-helper.vue

0% Statements 0/23
0% Branches 0/4
0% Functions 0/10
0% Lines 0/23

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66                                                                                                                                   
<template>
  <div class="pa-0 align-self-center">
    <v-menu
      v-model="menu"
      :close-on-content-click="false"
      :max-width="800"
      offset-x
    >
      <template v-slot:activator="{ on, attrs }">
        <v-icon
          v-bind="attrs"
          v-on="on"
          size="large"
          color="indigo"
          icon="mdi-owl"
          @click="menu = !menu"
        ></v-icon>
      </template>
 
      <v-card class="whmy overflow-auto overflow-x-hidden">
        <v-row class="ma-3">
          <v-col>
            <pre
              >{{ pretext }}
</pre
            >
          </v-col>
        </v-row>
      </v-card>
    </v-menu>
  </div>
</template>

<script>
import { ref } from "vue";

export default {
  name: "myHelper",

  props: {
    pretext: {
      type: Object,
      default: () => {},
    },
  },

  setup() {
    const menu = ref(false);

    return { menu };
  },
 
  // data: () => ({

  //   menu: false,
 
  // }),
};
</script>
 
<style>
.whmy {
  height: 950px !important;
}
</style>