-
Notifications
You must be signed in to change notification settings - Fork 89
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
太赞了,加油! #1
Comments
请问,onchange回调里可以带参数吗? |
可以啊 var pageSlide = new PageSlide({
pages: $('.page'),
onchange: function(){
console.log(this); //this 就指向了当前 pageSlide 的实例,比如 this.index 取得当前的页码 啊什么的,输出一下 this 就知道能获得到的都有什么参数了
}
}) |
大神可以留个QQ吗?让小弟膜拜膜拜 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
No description provided.
The text was updated successfully, but these errors were encountered: