implement pinch to zoom

This commit is contained in:
marlon-erler
2026-08-30 16:15:14 +02:00
parent ea50704f8a
commit 7eb02f07dc
160 changed files with 15806 additions and 61 deletions
+29
View File
@@ -0,0 +1,29 @@
# prop-detect
[![Build Status](https://secure.travis-ci.org/chemzqm/prop-detect.svg)](http://travis-ci.org/chemzqm/prop-detect)
Detect animation properties, it's annoying to install each of them.
:smiley:
## Install
npm i prop-detect -S
## Usage
``` js
var detect = require('prop-detect')
var transform = detect.transform
var transition = detect.transition
var touchAction = detect.touchAction
var transitionend = detect.transitionend
var has3d = detect.has3d // true or false
```
## API
* `transform` style name
* `transition` style name
* `touchAction` style name
* `transitionend` event name
* `has3d` true of false