infinite-viewer icon indicating copy to clipboard operation
infinite-viewer copied to clipboard

i need some convenient events such as onZoomChange, onPanChange

Open enk0de opened this issue 1 year ago • 2 comments

i need some convenient events such as onZoomChange, onPanChange(x, y).

  • onPinch only subscribe zoom value occured by actual pinch zoom.
  • I can't tell if onScroll is due to zooming or panning.

enk0de avatar Jun 22 '23 07:06 enk0de

@hoondeveloper

I will add events related to subscriptions to the three properties (zoom), (scrollX, scrollY).

daybrush avatar Jun 25 '23 23:06 daybrush

and would you please implement these too? :bow:

  • onScrollStart (onPanStart)
  • onScrollEnd( onPanEnd)

enk0de avatar Jun 26 '23 02:06 enk0de