Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

rebind event listeners.

18 views
Skip to first unread message

thebook...@gmail.com

unread,
Nov 17, 2014, 11:02:35 AM11/17/14
to mozilla-d...@lists.mozilla.org
Im having an issue where i have to listen to click events on the
textlayer, but every time the zoom level is changed the event
listeners are pulverized (maybe invalidated?), so what is the best approach?
i really do not want to have to listen to events on the entire viewer, is there some "onScale_change" PDFjs event that could help me rebind event listeners when the zoom happends?
Im using the stock PDFJs viewer.js + html.

Jiun
0 new messages