Skip to content

Commit

Permalink
Ammendment(transition): appear-class -> appear-from-class (vuejs#172
Browse files Browse the repository at this point in the history
)
  • Loading branch information
underfin committed Aug 24, 2020
1 parent bbe7d4e commit 36dda5b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions active-rfcs/0018-transition-class-change.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@

- Rename the `v-enter` transition class to `v-enter-from`
- Rename the `v-leave` transition class to `v-leave-from`
- Rename the `v-appear` transition class to `v-appear-from`

# Basic example

Expand Down Expand Up @@ -52,9 +53,11 @@ The asymmetry and lack of explicitness in `.v-enter` and `.v-leave` makes these

- `.v-enter` is renamed to `.v-enter-from`
- `.v-leave` is renamed to `.v-leave-from`
- `.v-appear` is renamed to `.v-appear-from`
- The `<transition>` component's related prop names are also changed:
- `leave-class` is renamed to `leave-from-class` (in render functions or JSX, can be written as `leaveFromClass`)
- `enter-class` is renamed to `enter-from-class` (in render functions or JSX, can be written as `enterFromClass`)
- `appear-class` is renamed to `appear-from-class` (in render functions or JSX, can be written as `appearFromClass`)

# Adoption strategy

Expand Down

0 comments on commit 36dda5b

Please sign in to comment.