![PyPI Now Supports iOS and Android Wheels for Mobile Python Development](https://cdn.sanity.io/images/cgdhsj6q/production/96416c872705517a6a65ad9646ce3e7caef623a0-1024x1024.webp?w=400&fit=max&auto=format)
Security News
PyPI Now Supports iOS and Android Wheels for Mobile Python Development
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
react-pinch-and-zoom
Advanced tools
A react container component with pinch-to-zoom gesture interaction.
A react container component with pinch-to-zoom gesture interaction.
Install this package as dependency
# pwd: ~/project/dir
$ npm install react-pinch-and-zoom
Import the component
import PinchToZoom from 'react-pinch-and-zoom';
Wrap the pinch-able component inside PinchToZoom
component
render() {
return (
<div className="container">
<PinchToZoom>
<img src={...}/> // child node should have intrinsic size
</PinchToZoom>
</div>
);
}
./react-pinch-and-zoom (master)
├── docs // compiled github demo page
├── lib // compiled react component in commonjs module (git ignored)
├── package.json
├── server.js // config local development server
└── src
├── PinchToZoom // source code of react-pinch-and-zoom
└── demo // source code of github demo page
# pwd: ~/development/dir
$ git pull https://github.com/conradlo/react-pinch-and-zoom.git
$ cd react-pinch-and-zoom
# pwd: ~/development/dir/react-pinch-and-zoom
$ npm install
# pwd: ~/development/dir/react-pinch-and-zoom
$ npm start
localhost:3000
and edit src/PinchToZoom/*
package.json
for more npm script tasksrun npm run build
will:
/lib
/docs
# pwd: ~/development/dir/react-pinch-and-zoom
$ npm run build
Please refer to CONTRIBUTING.md for details on code of conduct, and the process for submitting pull requests.
This project uses SemVer for versioning. For the versions available, see the tags on this repository.
see the LICENSE file for details
FAQs
A react container component with pinch-to-zoom gesture interaction.
The npm package react-pinch-and-zoom receives a total of 1,277 weekly downloads. As such, react-pinch-and-zoom popularity was classified as popular.
We found that react-pinch-and-zoom demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.