Started on tree view for real
This commit is contained in:
@@ -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>
|
||||
21
app/imports/ui/components/tree/TreeNode.vue
Normal file
21
app/imports/ui/components/tree/TreeNode.vue
Normal 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>
|
||||
Reference in New Issue
Block a user