Skip to content

Commit

Permalink
feat: animate chart show / hide transition
Browse files Browse the repository at this point in the history
  • Loading branch information
cadriel committed Oct 26, 2020
1 parent d71712f commit 5dee489
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions src/components/cards/TemperatureCard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,12 @@

<temperature-targets-widget></temperature-targets-widget>

<v-card-text class="chart-container" v-if="chartVisible">
<temperature-chart-widget v-if="chartReady && klippyConnected" :chart-data="chartData" :styles="chartStyles"></temperature-chart-widget>
</v-card-text>
<v-expand-transition>
<v-card-text class="chart-container" v-if="chartVisible">
<temperature-chart-widget v-if="chartReady && klippyConnected" :chart-data="chartData" :styles="chartStyles"></temperature-chart-widget>
</v-card-text>
</v-expand-transition>

</v-card>
</template>

Expand Down

0 comments on commit 5dee489

Please sign in to comment.