mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
Swipe me yo\!
This commit is contained in:
@@ -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">
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user