Closed sytexa-julia closed 1 week ago
Resolves #19567 by implementing the color prop for VTooltip.
color
<template> <v-app> <v-container> <template v-for="color in colors" :key="color"> <div class="mb-2"> <v-btn> {{ color.length ? color : 'Default' }} <v-tooltip v-model="show" :color="color" :text="`A ${color} tooltip!`" activator="parent" model-value @update:model-value="" /> </v-btn> </div> </template> </v-container> </v-app> </template> <script> import { ref } from 'vue' export default { name: 'Playground', setup () { const colors = ref(['', 'primary', 'secondary', 'grey', 'red', 'grey-lighten-3']) return { colors, } }, } </script>
Description
Resolves #19567 by implementing the
color
prop for VTooltip.Markup: