Added dialog animations, still working on box shadows

This commit is contained in:
Stefan Zermatten
2019-01-23 16:49:58 +02:00
parent e8a0e86548
commit 00e8cbc1c8
9 changed files with 174 additions and 20 deletions

View File

@@ -0,0 +1,22 @@
<template lang="html">
<v-card-text>
<v-layout align-center justify-center>
<v-btn @click="openDialog(_uid + 'btn')" :id="_uid + 'btn'"/>
</v-layout>
</v-card-text>
</template>
<script>
import DialogBaseStory from '/imports/ui/dialogStack/DialogBase.Story.vue';
import store from "/imports/ui/vuexStore.js";
export default {
methods: {
openDialog(elementId){
store.commit("pushDialogStack", {
component: DialogBaseStory,
elementId,
});
}
},
}
</script>