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

let user can set section which should scrollto #17

Merged
merged 3 commits into from
Apr 16, 2018
Merged

let user can set section which should scrollto #17

merged 3 commits into from
Apr 16, 2018

Conversation

sidraw27
Copy link

as title

i find the initScrollSections method has selector param,but that doesn't pass any config in

@ibufu
Copy link
Owner

ibufu commented Apr 13, 2018

Is it a feature or fixing?

@sidraw27
Copy link
Author

I thought it is a feature, but seems like you did't implement it, so i let it can do that
thx

@@ -33,6 +33,7 @@ export default function install (Vue, options) {

options = Object.assign({
allowNoActive: false,
sectionSelector: null,
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这个值我觉得放在binding里比较好

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

我找時間再看一下
現在只是讓我這邊能執行 還沒有考慮過
感謝您的幫忙!!

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

请看一下这样修改后是否能满足需求。

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

完全可以 感謝您的幫忙!!

@ibufu ibufu merged commit afd61ac into ibufu:master Apr 16, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants