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
+2
View File
@@ -0,0 +1,2 @@
components
build
+5
View File
@@ -0,0 +1,5 @@
0.0.1 / 2013-04-04
==================
* initial release
+11
View File
@@ -0,0 +1,11 @@
build: components index.js
@component build --dev
components: component.json
@component install --dev
clean:
rm -fr build components template.js
.PHONY: clean
+17
View File
@@ -0,0 +1,17 @@
# transform-property
Name of the CSS transform property (cross-browser)
## Installation
$ component install component/transform-property
## API
Exports the name of transform property as a `String` or `null` if
the property is not supported.
## License
MIT
+13
View File
@@ -0,0 +1,13 @@
{
"name": "transform-property",
"repo": "component/transform-property",
"description": "Name of the CSS transform property (cross-browser)",
"version": "0.0.1",
"keywords": [],
"dependencies": {},
"development": {},
"license": "MIT",
"scripts": [
"index.js"
]
}
+19
View File
@@ -0,0 +1,19 @@
var styles = [
'webkitTransform',
'MozTransform',
'msTransform',
'OTransform',
'transform'
];
var el = document.createElement('p');
var style;
for (var i = 0; i < styles.length; i++) {
style = styles[i];
if (null != el.style[style]) {
module.exports = style;
break;
}
}
+9
View File
@@ -0,0 +1,9 @@
{
"name": "transform-property",
"version": "0.0.1",
"component": {
"scripts": {
"transform-property/index.js": "index.js"
}
}
}