Skip to content

Instantly share code, notes, and snippets.

View varadekd's full-sized avatar
💭
I may be slow to respond.

Kushagra Varade varadekd

💭
I may be slow to respond.
View GitHub Profile
@varadekd
varadekd / index.html
Created May 18, 2020 04:57
V-Dialog not closing issue
<div id="app">
<v-app id="inspire">
<v-btn @click="isOpenModel = true"> Open model </v-btn>
<!-- opens the v-dialog when isOPenModel is set to true -->
<v-dialog @keydown.esc="closeModel()" v-model="isOpenModel" max-width="500px">
<v-card>
<!-- Heading provided for the pop-up -->
<v-toolbar color="grey lighten-4">
<v-toolbar-title>Model heading</v-toolbar-title>