Skip to content
Snippets Groups Projects
AgTooltip.vue 481 B
Newer Older
<!-- 
    - the headerTooltip field must be defined together with tooltipComponent
    - only check if is header if tooltip applied everywhere 
Artur Carvalho's avatar
Artur Carvalho committed
    - tooltipShowDelay defines the time to wait for tooltips
-->

<script setup lang="ts">
import { ref } from "vue";

Artur Carvalho's avatar
Artur Carvalho committed
const props: any = defineProps();
const params: any = props.params;
const isHeader = params.rowIndex === undefined;
</script>
<template>
  <div class="bg-red-500" red="banans" v-if="isHeader">hello!</div>