Skip to content

Conversation

VAJRESH
Copy link

@VAJRESH VAJRESH commented Oct 20, 2023

Added config option to get pdf data

// only applicable for pdf
getPdfData: ({ currentPage, totalPages }) => {
console.log("pdf data", totalPages, currentPage);
},

this config callback function is called when user changes the pdf page in horizontal scroll or scrolls down to change page in vertical scroll

Also updated readme file

@bulgemi
Copy link

bulgemi commented Nov 7, 2023

I'm waiting... I hope it merges soon!

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

Successfully merging this pull request may close these issues.

2 participants