-1

Is there any way to find out current page number in search complete callback function of google image search api?

I have defined a function for search complete callback and set it using this setSearchCompleteCallback and found that it is called for each page click also, so is there any way to know what is the current page number?

Pawan Nogariya
  • 8,330
  • 12
  • 52
  • 105

1 Answers1

0

Found a workaround, the div for current page has css class gsc-cursor-current-page

This is not what exactly what I asked in the question but it helped me!

Pawan Nogariya
  • 8,330
  • 12
  • 52
  • 105