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

vue过渡与动画(十五) | Poetry's Blog #179

Open
poetries opened this issue Oct 9, 2019 · 0 comments
Open

vue过渡与动画(十五) | Poetry's Blog #179

poetries opened this issue Oct 9, 2019 · 0 comments

Comments

@poetries
Copy link
Owner

poetries commented Oct 9, 2019

http://blog.poetries.top/2018/08/28/vue-animation-transition/

一、transition标签结合css vue.2.0中的过渡动画利用自身的transition组件实现 有四种情形可以实现过渡效果 利用v-if渲染元素时 利用v-show展示或者隐藏元素时应用过渡生效 动态组件(把几个组件挂载到一个父节点上,在父节点绑定变量来决定显示哪个子组件) 组件根节点 过渡有两种总的状态:即enter(过渡开始)和leave(过渡结束) 这两中状态再细分,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant