-
Notifications
You must be signed in to change notification settings - Fork 140
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
[comp: BackTop] add BackTop component #79
Comments
@huangtenghui @danranVm 负责此组件的 review, API 设计完成后请 |
@danranVm @huangtenghui 麻烦看一下 api 是否合理 |
1、target 如果只支持string可能不太友好,应该也可以传dom; |
|
ok |
我没什么建议。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What problem does this feature solve?
What does the proposed API look like?
Props
target
string | HTMLElement
window
duration
number
450
visibility-height
number
400
Slots
defalut
Emits
click
event
The text was updated successfully, but these errors were encountered: