Skip to content
This repository has been archived by the owner on Feb 23, 2022. It is now read-only.

Commit

Permalink
Merge pull request #99 from matoval/add-next-btn-take-action
Browse files Browse the repository at this point in the history
Add button to take action steps
  • Loading branch information
waldnzwrld authored Feb 11, 2022
2 parents 350bd3c + d29be89 commit 4b7591f
Showing 1 changed file with 16 additions and 4 deletions.
20 changes: 16 additions & 4 deletions src/components/TakeAction.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<template lang="html">
<section class="take-action">
<v-expansion-panels v-model="panel" flat>
<v-expansion-panel v-model="panel">
<v-expansion-panel :key="0" v-model="panel">
<v-expansion-panel-header>
<v-list-item-avatar class="grey lighten-2" max-width="40px">
<span> 1</span>
Expand All @@ -25,9 +25,14 @@
:letterBody="letterBody"
/>
</v-expansion-panel-content>
<v-expansion-panel-content>
<v-btn width="160" dark color="theme_darkBlue" @click="nextPage" >
Next
</v-btn>
</v-expansion-panel-content>
</v-expansion-panel>

<v-expansion-panel>
<v-expansion-panel :key="1">
<v-divider></v-divider>

<v-expansion-panel-header class="flex-nowrap">
Expand All @@ -52,8 +57,13 @@
<v-expansion-panel-content>
<sign-name />
</v-expansion-panel-content>
<v-expansion-panel-content>
<v-btn width="160" dark color="theme_darkBlue" @click="nextPage" >
Next
</v-btn>
</v-expansion-panel-content>
</v-expansion-panel>
<v-expansion-panel>
<v-expansion-panel :key="2" >
<v-divider></v-divider>

<v-expansion-panel-header>
Expand Down Expand Up @@ -103,7 +113,9 @@ export default {
}
},
methods: {
nextPage () {
this.panel = this.panel += 1
}
},
computed: {
Expand Down

0 comments on commit 4b7591f

Please sign in to comment.