You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The `v-enter`transition class has been renamed to `v-enter-from`and the `v-leave`transition class has been renamed to`v-leave-from`.
11
+
A classe de transição `v-enter`foi renomeada para `v-enter-from`e a classe de transição `v-leave`foi renomeada para`v-leave-from`.
12
12
13
-
## 2.x Syntax
13
+
## Sintaxe v2.x
14
14
15
-
Before v2.1.8, we had two transition classes for each transition direction: initial and active states.
15
+
Antes da v2.1.8, nós tinhamos duas classes de transição para cada direção da transição: estados inicial e ativo.
16
16
17
-
In v2.1.8, we introduced `v-enter-to`to address the timing gap between enter/leave transitions. However, for backward compatibility, the `v-enter`name was untouched:
17
+
Na v2.1.8, nós introduzimos a `v-enter-to`para endereçar o intervalo de tempo entre as transições enter/leave. Entretanto, para compatibilidade com versões anteriores, o nome `v-enter`se manteve inalterado:
18
18
19
19
```css
20
20
.v-enter,
@@ -28,11 +28,11 @@ In v2.1.8, we introduced `v-enter-to` to address the timing gap between enter/le
28
28
}
29
29
```
30
30
31
-
This became confusing, as_enter_and_leave_were broad and not using the same naming convention as their class hook counterparts.
31
+
Isso se tornou confuso, como_enter_e_leave_eram amplos e não utilizavam a mesma convenção de nome que suas classes de ligação homólogas.
32
32
33
-
## 3.x Update
33
+
## Atualização v3.x
34
34
35
-
In order to be more explicit and legible, we have now renamed these initial state classes:
35
+
De forma à deixar mais explícito e legível, nós agora renomeamos essas classes de estado inicial:
36
36
37
37
```css
38
38
.v-enter-from,
@@ -46,17 +46,17 @@ In order to be more explicit and legible, we have now renamed these initial stat
46
46
}
47
47
```
48
48
49
-
It's now much clearer what the difference between these states is.
49
+
Agora é muito mais claro a diferença entre esses estados.
50
50
51
-

51
+

52
52
53
-
The `<transition>`component's related prop names are also changed:
53
+
Os nomes de propriedades do componente `<transition>`relacionadas também foram alterados:
54
54
55
-
-`leave-class`is renamed to`leave-from-class` (can be written as`leaveFromClass`in render functions or JSX)
56
-
-`enter-class`is renamed to`enter-from-class` (can be written as`enterFromClass`in render functions or JSX)
55
+
-`leave-class`é renomeada para`leave-from-class` (pode ser escrita como`leaveFromClass`em funções de renderização ou JSX)
56
+
-`enter-class`é renomeada para`enter-from-class` (pode ser escrita como`enterFromClass`em funções de renderização ou JSX)
57
57
58
-
## Migration Strategy
58
+
## Estratégia de Migração
59
59
60
-
1.Replace instances of`.v-enter`to`.v-enter-from`
61
-
2.Replace instances of`.v-leave`to`.v-leave-from`
62
-
3.Replace instances of related prop names, as above.
0 commit comments