box / box/viewer.js

Pinch In/Out in mobile

Open
#10 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
333
Forks
98
PR merge metrics
No merged PRs in 30d

Description

Hi, I've succesfuly implemented and customized viewer.js in a responsive template, adding Draggable option. I can swipe between the pages, but I would like to zoom in / out in pinch event of mobile. I ask you if exists a plugin which solve this. The precarious solution I found is catching this event and throw zoom method, but I would like to get a better solution. Alternatively, I could develop and publish it but I would need your help.

Thanks!

Contributor guide

Open the contributing guide

Research direction

Begin by reviewing viewer.js's Draggable option and existing zoom method, then inspect how mobile touch and pinch events are handled. Done means an agreed plugin or implementation supports pinch-to-zoom without breaking page swiping; the issue names no target file or test, so validation criteria need to be established first.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend, mobile-dev
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.