-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
提供一个过渡动画的组件 #829
Comments
建议用第三方的,这些动画对于 wrapper dom 的样式是有特定要求的,我并不计划把这种组件暴露出来,用的人可能会以为组件出了 bug。 |
额 那真的是太遗憾了😞 |
说说你的场景 |
可以讨论一下 |
我的场景很简单,我有一个需要 展开/收起的场景,如果使用 collapse 组件也能做到,只不过会麻烦些, <!-- 需要嵌套使用,n-collapse-item 无法单独使用, --->
<!-- 我可能需要重写大量的代码才能满足我的需求 --->
<n-collapse>
<n-collapse-item title="青铜" name="1">
<div>可以</div>
</n-collapse-item>
</n-collapse> 安利自己项目,这里用到了 el-collapse-transition : 最后说一下原因: |
This function solves the problem (这个功能解决的问题)
有些地方不想用 collapse组件,但是又需要 collapse 这种动画效果
Expected API (期望的 API)
类似于 https://element-plus.gitee.io/#/zh-CN/component/transition
The text was updated successfully, but these errors were encountered: