Started on tree view for real

This commit is contained in:
Stefan Zermatten
2019-04-12 13:37:47 +02:00
parent ea968ad955
commit 05867c61dd
2 changed files with 21 additions and 26 deletions

View File

@@ -1,26 +0,0 @@
<template lang="html">
<div v-if="effects && effects.length">
<h6 class="title">Effects</h6>
<effect-child-list
show-stat-name
:effects="effects"
@click="e => $emit('clickedEffect', e)"
/>
</div>
</template>
<script>
import EffectChildList from '/imports/ui/components/children/effects/EffectChildList.vue';
export default {
props: {
effects: Array,
proficiencies: Array,
actions: Array,
attacks: Array,
},
};
</script>
<style lang="css" scoped>
</style>

View File

@@ -0,0 +1,21 @@
<template lang="html">
<div class="layout row">
<v-btn @click="expand">
<v-icon>arrow-right</v-icon>
</v-btn>
</div>
</template>
<script>
/**
* TreeNode's are list item views of character properties. Every property which
* can belong to the character is shown in the tree view of the character
* the tree view shows off the full character structure, and where each part of
* character comes from.
**/
export default {
}
</script>
<style lang="css" scoped>
</style>