From 9f0e0637bade5e558bbb169daab40700ff2c60db Mon Sep 17 00:00:00 2001 From: "hjnim.kim" Date: Wed, 16 Jan 2013 13:32:51 +0900 Subject: [PATCH] Swipe: event name error has been fixed Swipe animation event name error has been fixed ( animationstart, end ) Change-Id: Ie58248f9b5dfb9374dc54d19819ec79cb787b1c3 --- demos/tizen-winsets/widgets/list/list-swipe.html | 20 ++++++++++++++------ src/widgets/swipe/js/jquery.mobile.tizen.swipe.js | 4 ++-- 2 files changed, 16 insertions(+), 8 deletions(-) diff --git a/demos/tizen-winsets/widgets/list/list-swipe.html b/demos/tizen-winsets/widgets/list/list-swipe.html index afb0f20..cd51ab3 100755 --- a/demos/tizen-winsets/widgets/list/list-swipe.html +++ b/demos/tizen-winsets/widgets/list/list-swipe.html @@ -1,13 +1,21 @@

Swipe lists

@@ -96,10 +104,10 @@
  • -
    +
    Test API - Swipe2
    -
    +
    Twitter
    Facebook
    diff --git a/src/widgets/swipe/js/jquery.mobile.tizen.swipe.js b/src/widgets/swipe/js/jquery.mobile.tizen.swipe.js index 62ce7cd..58cb40d 100644 --- a/src/widgets/swipe/js/jquery.mobile.tizen.swipe.js +++ b/src/widgets/swipe/js/jquery.mobile.tizen.swipe.js @@ -265,7 +265,7 @@ duration: 'normal', queue: true, complete: function () { - cover.trigger('animationComplete'); + cover.trigger('animationend'); } }; @@ -288,7 +288,7 @@ cover.stop(); cover.clearQueue(); - cover.trigger('animationStart'); + cover.trigger('animationstart'); cover.animate( { left: leftPercentage + '%' }, animationOptions ); if ( leftPercentage == 0 ) { item.animate({ opacity: 0 }, "slow"); -- 2.7.4