From: hjnim.kim Date: Wed, 16 Jan 2013 04:32:51 +0000 (+0900) Subject: Swipe: event name error has been fixed X-Git-Tag: accepted/tizen_2.1/20130425.023924~7^2~227 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9f0e0637bade5e558bbb169daab40700ff2c60db;p=platform%2Fframework%2Fweb%2Fweb-ui-fw.git Swipe: event name error has been fixed Swipe animation event name error has been fixed ( animationstart, end ) Change-Id: Ie58248f9b5dfb9374dc54d19819ec79cb787b1c3 --- 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");