From a974d5c4a536e986914493675aae59ea22af6b31 Mon Sep 17 00:00:00 2001 From: Monica Dinculescu Date: Tue, 10 Nov 2015 11:12:01 -0800 Subject: [PATCH] swipe ALL the things! --- .gitignore | 1 + README.md | 2 - bower.json | 37 +++++ demo/index.html | 119 +++++++++++++++ index.html | 28 ++++ iron-swipeable-container.html | 268 ++++++++++++++++++++++++++++++++++ test/basic.html | 219 +++++++++++++++++++++++++++ test/index.html | 25 ++++ test/test-element.html | 35 +++++ 9 files changed, 732 insertions(+), 2 deletions(-) create mode 100644 .gitignore create mode 100644 bower.json create mode 100644 demo/index.html create mode 100644 index.html create mode 100644 iron-swipeable-container.html create mode 100644 test/basic.html create mode 100644 test/index.html create mode 100644 test/test-element.html diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..fbe05fc --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +bower_components/ diff --git a/README.md b/README.md index 492fc76..bdca6f4 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,3 @@ - + + + iron-swipeable-container demo + + + + + + + + + + + + + + + +
+

Curve swipe

+
+ +
You can swipe native elements. This is a plain div.
+ + +
+ You can automatically swipe custom elements, too. This is a paper-card. +
+
+ + +
+ This is another paper-card. Hello! +
+
+ +
This is another div but it can't be swiped.
+
+
+ +

Horizontal swipe

+
+ +
You can swipe native elements. This is a plain div.
+ + +
+ You can automatically swipe custom elements, too. This is a paper-card. +
+
+ + +
+ This is another paper-card. Hello! +
+
+ +
This is another div but it can't be swiped.
+
+
+ +

Swipe disabled

+
+ +
You can swipe native elements. This is a plain div.
+ + +
+ You can automatically swipe custom elements, too. This is a paper-card. +
+
+ + +
+ This is another paper-card. Hello! +
+
+ +
This is another div.
+
+
+
+ + diff --git a/index.html b/index.html new file mode 100644 index 0000000..2e3d36d --- /dev/null +++ b/index.html @@ -0,0 +1,28 @@ + + + + + + + + + iron-swipeable-container + + + + + + + + + + + diff --git a/iron-swipeable-container.html b/iron-swipeable-container.html new file mode 100644 index 0000000..8348dc9 --- /dev/null +++ b/iron-swipeable-container.html @@ -0,0 +1,268 @@ + + + + + + + + + + + diff --git a/test/basic.html b/test/basic.html new file mode 100644 index 0000000..c71e32b --- /dev/null +++ b/test/basic.html @@ -0,0 +1,219 @@ + + + + + + iron-swipeable-container tests + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/index.html b/test/index.html new file mode 100644 index 0000000..16d0d2c --- /dev/null +++ b/test/index.html @@ -0,0 +1,25 @@ + + + + + + + iron-swipeable-container tests + + + + + + diff --git a/test/test-element.html b/test/test-element.html new file mode 100644 index 0000000..c1c037f --- /dev/null +++ b/test/test-element.html @@ -0,0 +1,35 @@ + + + + + + + + + +