Skip to content

Instantly share code, notes, and snippets.

@lesonky
Created November 21, 2018 06:46
Show Gist options
  • Save lesonky/4ba2dc63683aca37f618408ad24b7879 to your computer and use it in GitHub Desktop.
Save lesonky/4ba2dc63683aca37f618408ad24b7879 to your computer and use it in GitHub Desktop.
vuetify dialog component #vuetify #dialog
<template>
<v-dialog class="card-create-dialog__dialog"
v-model="$_show"
scrollable
persistent
:overlay="false"
max-width="800px"
transition="dialog-transition"
:fullscreen="$vuetify.breakpoint.xsOnly">
</v-dialog>
</template>
<script>
export default {
name: 'Banner',
props: {
show: {
type: Boolean,
default: false,
},
},
computed: {
$_show: {
get() {
return this.show;
},
set(nval) {
this.$emit('update:show', nval);
},
},
},
};
</script>
<style lang="scss" scoped>
</style>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment