Monaca Onsen UI Discord Chat Github Repo

Image pinch to zoom



  • I realize Onsen is a UI library, but it would seem to follow that there would be more “components” that lend themselves to UX. In this case, it would be nice to have a component that “easily” handled loading images (whether FileURL or DataURL) that supported touch dragging as well as pinch-to-zoom. As it stands, it seems that I have to draw the image to a canvas then perform the relevant math. Am I missing a much more straightforward solution?