mirror of
https://github.com/em-squared/5e-drs.git
synced 2025-10-30 21:24:18 +00:00
spell + filtering + urlParams
This commit is contained in:
parent
d872002ee9
commit
da1547ab88
40 changed files with 1448 additions and 89 deletions
46
docs/.vuepress/theme/components/RightDrawer.vue
Normal file
46
docs/.vuepress/theme/components/RightDrawer.vue
Normal file
|
|
@ -0,0 +1,46 @@
|
|||
<template>
|
||||
<v-navigation-drawer class="right-drawer" v-model="rightDrawer" :clipped="$vuetify.breakpoint.lgAndUp" width="300" app right>
|
||||
<SpellFilters v-if="hasSpellFilters" />
|
||||
</v-navigation-drawer>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import SpellFilters from '@theme/components/SpellFilters.vue'
|
||||
|
||||
export default {
|
||||
name: 'RightDrawer',
|
||||
|
||||
components: {
|
||||
SpellFilters
|
||||
},
|
||||
|
||||
data () {
|
||||
return {
|
||||
}
|
||||
},
|
||||
|
||||
computed: {
|
||||
rightDrawer: {
|
||||
get () {
|
||||
return this.$store.state.rightDrawer
|
||||
},
|
||||
set (newValue) {
|
||||
this.$store.commit('setRightDrawer', newValue)
|
||||
}
|
||||
},
|
||||
hasSpellFilters () {
|
||||
return this.$store.state.inRightDrawer == 'spellFilters'
|
||||
}
|
||||
},
|
||||
|
||||
mounted () {
|
||||
|
||||
},
|
||||
|
||||
methods: {
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss">
|
||||
</style>
|
||||
Loading…
Add table
Add a link
Reference in a new issue