How does ‘slot activator’ work in vuetify?

When you declare a Vue component, you can create Named Slots, which is a Vue native feature (not from Vuetify): For example, suppose we have an app-layout component with the following template: <div class=”container”> <header> <slot name=”header”></slot> </header> <main> <slot></slot> </main> <footer> <slot name=”footer”></slot> </footer> </div> Parent markup: <app-layout> <h1 slot=”header”>Here might be a page … Read more

Display Vuetify tooltip on disabled button

Not sure if this is the absolute best way but I was able to get a tooltip on a disabled button by wrapping it in a div tag: Codepen <v-tooltip v-model=”show” top> <template v-slot:activator=”{ on }”> <div v-on=”on”> <v-btn disabled icon> <v-icon color=”grey lighten-1″>shopping_cart</v-icon> </v-btn> </div> </template> <span>Programmatic tooltip</span> </v-tooltip>

How can I add a click event to the v-data-table?

I found a way around it using @click:row <v-data-table :headers=”headers” :items=”desserts” :items-per-page=”5″ class=”elevation-1″ @click:row=”handleClick”> </v-data-table> The handleClick function returns a value of the clicked item so I call the method I want to act upon the value within the handleClick method. I also manually highlighted the clicked row since I didn’t find a Vuetify way … Read more

vuetify center items into v-flex

wrap button inside <div class=”text-xs-center”> <div class=”text-xs-center”> <v-btn primary> Signup </v-btn> </div> Dev uses it in his examples. For centering buttons in v-card-actions we can add class=”justify-center” (note in v2 class is text-center (so without xs): <v-card-actions class=”justify-center”> <v-btn> Signup </v-btn> </v-card-actions> Codepen For more examples with regards to centering see here

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)