Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Transition name & type #17

Merged
merged 1 commit into from
Aug 9, 2022
Merged

Transition name & type #17

merged 1 commit into from
Aug 9, 2022

Conversation

ycs77
Copy link
Owner

@ycs77 ycs77 commented Aug 8, 2022

close #15

Add transition-name and transition-type props for Float Vue.

Usage

Use named transition classes to define transition styles:

<Float transition-name="fade">

The corresponding class:

<style>
.fade-enter-active,
.fade-leave-active {
  transition: opacity 0.5s ease;
}

.fade-enter-from,
.fade-leave-to {
  opacity: 0;
}
</style>

@ycs77 ycs77 merged commit b15c4bf into main Aug 9, 2022
@ycs77 ycs77 deleted the transition-name-and-type branch August 9, 2022 04:04
@ycs77 ycs77 added the enhancement New feature or request label Sep 24, 2022
@ycs77 ycs77 added the vue label Oct 14, 2022
@ycs77 ycs77 changed the title (vue): Transition name & type Transition name & type Oct 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request vue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Using transition name
1 participant