twoavy-vuex-snapshots
v1.0.1
Published
## installation `yarn add git+ssh://[email protected]:twoavy/twoavy-vuex-snapshots.git`
Downloads
3
Readme
twoavy-vuex-snapshots
installation
yarn add git+ssh://[email protected]:twoavy/twoavy-vuex-snapshots.git
usage
<template>
<state-snapshot-dashboard
:open="stateSnapshotDashboardOpen"
:on-close="closeStateSnapshotDashboard"
/>
</template>
<script>
import StateSnapshotDashboard from 'twoavy-vuex-snapshots'
export default {
components: { StateSnapshotDashboard },
data() {
return {
stateSnapshotDashboardOpen: false,
}
},
methods: {
toggleStateSnapshotOpen(){
this.stateSnapshotDashboardOpen = !this.stateSnapshotDashboardOpen
},
closeStateSnapshotDashboard() {
this.stateSnapshotDashboardOpen = false
},
}
}
</script>