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

FloatingBubble 组件的gap希望可以兼容数组形式 #13297

Open
JioJio112233 opened this issue Jan 2, 2025 · 2 comments
Open

FloatingBubble 组件的gap希望可以兼容数组形式 #13297

JioJio112233 opened this issue Jan 2, 2025 · 2 comments

Comments

@JioJio112233
Copy link

这个功能解决了什么问题?

目前的gap只能传入单一值,让x和y轴一起适用,不太灵活,希望可以变为数组同时配置x和y 不同的值

你期望的 API 是什么样子的?

@JioJio112233
Copy link
Author

@JioJio112233
Copy link
Author

<van-floating-bubble :gap="[ 20, 40 ]" />

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