7
7
700Hp2022-02-05 00:05:31
Vue.js
700Hp, 2022-02-05 00:05:31

How to set a Vue component change animation?

<template>
  <BoardAdminMenu
    @action="changeActiveIndex"
  />

  <div class="board">
    <PersonalArea v-if="activeIndex === 0" />
    <CreateLetter v-if="activeIndex === 1" />
  </div>

</template>


The block appears depending on the selected button in the menu.
How to simulate a delay before a condition in the form of a page break?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
L
LJ322, 2022-02-05
@700Hp

There is a convenient transitions mechanism - Animations on Vue

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question