Skip to content
This repository has been archived by the owner on Mar 13, 2018. It is now read-only.

Commit

Permalink
Use new trackx event
Browse files Browse the repository at this point in the history
  • Loading branch information
frankiefu committed Aug 5, 2014
1 parent 12e1cc2 commit 9989409
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions core-drawer-panel.html
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
<link rel="import" href="../core-media-query/core-media-query.html">
<link rel="import" href="../core-selector/core-selector.html">

<polymer-element name="core-drawer-panel">
<polymer-element name="core-drawer-panel" touch-action="auto">
<template>

<link rel="stylesheet" href="core-drawer-panel.css">
Expand Down Expand Up @@ -159,7 +159,7 @@

eventDelegates: {
trackstart: 'trackStart',
track: 'track',
trackx: 'trackx',
trackend: 'trackEnd'
},

Expand Down Expand Up @@ -235,7 +235,7 @@
}
},

track : function(e) {
trackx : function(e) {
if (this.dragging) {
var x;
if (this.rightDrawer) {
Expand Down
2 changes: 1 addition & 1 deletion demo.html
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@

</head>

<body unresolved touch-action="auto">
<body unresolved>

<core-drawer-panel>

Expand Down

0 comments on commit 9989409

Please sign in to comment.