We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
滚动导航tabs,手动调用scrollTo方法定位的时候没有滚动效果,非常生硬。 提供一个参数控制,达成和点击导航栏一样的效果。
const tabsRef = ref(null); tabsRef.value.scrollTo(index, true); // 第二个参数开启滚动效果
The text was updated successfully, but these errors were encountered:
No branches or pull requests
这个功能解决了什么问题?
滚动导航tabs,手动调用scrollTo方法定位的时候没有滚动效果,非常生硬。
提供一个参数控制,达成和点击导航栏一样的效果。
你期望的 API 是什么样子的?
内容 {{ index }}const tabsRef = ref(null);
tabsRef.value.scrollTo(index, true); // 第二个参数开启滚动效果
The text was updated successfully, but these errors were encountered: