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 d375c4c commit bafec4b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion demo.html
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
</style>

</head>
<body unresolved touch-action="none">
<body unresolved>

<paper-calculator responsiveWidth="800px"></paper-calculator>

Expand Down
6 changes: 3 additions & 3 deletions paper-calculator-panels.html
Original file line number Diff line number Diff line change
Expand Up @@ -66,11 +66,11 @@

<div id="panelContainer" class="{{wideMode ? 'wide-layout' : ''}}">

<div id="main" touch-action="none">
<div id="main">
<content select="[main]"></content>
</div>

<div id="drawer" touch-action="pan-y" on-trackstart="{{trackStart}}" on-track="{{track}}" on-trackend="{{trackEnd}}">
<div id="drawer" on-trackstart="{{trackStart}}" on-trackx="{{trackx}}" on-trackend="{{trackEnd}}">
<content select="[drawer]"></content>
</div>

Expand Down Expand Up @@ -134,7 +134,7 @@
e.stopPropagation();
},

track: function(e) {
trackx: function(e) {
if (this.wideMode) {
return;
}
Expand Down

0 comments on commit bafec4b

Please sign in to comment.