<commit_before><template>

  <Popper
    v-if="readyToInit"
    :reference="htmlElement"
    :disabled="disabled"
    :visibleArrow="false"
    :options="options"
    trigger="hover"
    class="k-tooltip-container"
  >
    <div
      dir="auto"
      class="k-tooltip"
    >
      <!--Default slot that will contain the tooltip content.-->
      <slot></slot>
    </div>
  </Popper>

</template>


<script>

  import Popper from 'vue-popperjs';
  import isArray from 'lodash/isArray';

  /**
   * Used to create a tooltip.
   */
  export default {
    name: 'KTooltip',
    components: {
      Popper,
    },
    props: {
      /**
       * String of ref which tooltip will be positioned relative to.
       */
      reference: {
        type: String,
        required: true,
      },
      /**
       * Refs object.
       */
      refs: {
        type: Object,
        default: () => {},
      },
      /**
       * Whether or not tooltip is disabled<commit_msg>Add more doc to refs prop<commit_after><template>

  <Popper
    v-if="readyToInit"
    :reference="htmlElement"
    :disabled="disabled"
    :visibleArrow="false"
    :options="options"
    trigger="hover"
    class="k-tooltip-container"
  >
    <div
      dir="auto"
      class="k-tooltip"
    >
      <!--Default slot that will contain the tooltip content.-->
      <slot></slot>
    </div>
  </Popper>

</template>


<script>

  import Popper from 'vue-popperjs';
  import isArray from 'lodash/isArray';

  /**
   * Used to create a tooltip.
   */
  export default {
    name: 'KTooltip',
    components: {
      Popper,
    },
    props: {
      /**
       * String of ref which tooltip will be positioned relative to.
       */
      reference: {
        type: String,
        required: true,
      },
      /**
       * Parent's refs object which should contain the reference.
       */
      refs: {
        type: Object,
        default: () => {},
      },
      /**
       * Whether or not tooltip is disabled
{'fraction_non_alphanumeric': 0.13659274193548387, 'fraction_numerical': 0.0, 'mean_word_length': 1.8602305475504324, 'pattern_counts': {'":': 0, '<': 23, '<?xml version=': 0, '>': 25, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2355293', 'n_tokens_mistral': 621, 'n_tokens_neox': 612, 'n_words': 154}