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
+31
View File
@@ -0,0 +1,31 @@
/*global describe, it*/
var assert = require('assert')
var detect = require('..')
describe('prop-detect', function() {
it('should be transition', function () {
assert(/transition/i.test(detect.transition))
})
it('should be transform', function () {
assert(/transform/i.test(detect.transform))
})
it('should be touchAction', function () {
if (detect.touchAction) {
assert.equal('touchAction', detect.touchAction)
} else {
assert.equal(null, detect.touchAction)
}
})
it('should be transitionend', function () {
assert(/transition/i.test(detect.transitionend))
})
it('should be has3d', function () {
assert.equal(detect.has3d, true)
})
})