Swipe me yo\!

This commit is contained in:
Max Lynch
2013-08-26 19:44:10 -05:00
parent b6a4f42885
commit 4e4b979204
4 changed files with 17 additions and 27 deletions

View File

@@ -7,8 +7,12 @@
<meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no">
<link rel="stylesheet" href="../../dist/framework.css">
<link rel="stylesheet" href="app.css">
<script>
</script>
<style>
.swiperight {
-webkit-transition: 0.1s ease-in-out all;
-webkit-transform:translate3d(120%,0,0) ;
}
</style>
</head>
<body>
<div class="content content-padded">

View File

@@ -32,8 +32,6 @@ window.FM.on('swipe', function(e) {
type: 'swipe',
event: e
});
e.target.classList.add('swipeleft');
});
window.FM.on('swiperight', function(e) {
console.log('GOT SWIPE RIGHT', e);