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

scroll 事件中参数: Function(scrollTop,currentNum),currentNum打印出来是 undefined #175

Open
gy1001 opened this issue Nov 22, 2023 · 0 comments

Comments

@gy1001
Copy link

gy1001 commented Nov 22, 2023

pdfh5.on('scroll', function (scrollTop: string, currentNum: any) {
console.log(scrollTop, currentNum)
})

这里的scrollTop 打印出来有值,而 currentNum 打印出来是 undefiend.

render 事件回调中,是可以拿到的,目前在那里获取了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant