Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Ext JS Premium Member
    Join Date
    Apr 2010
    Posts
    56
    Vote Rating
    2
    korax is on a distinguished road

      0  

    Default [FIXED-EXTJSIV-1783][4.0.0] Ext.Util.Animate.stopAnimation() does not return eLEMENT

    [FIXED-EXTJSIV-1783][4.0.0] Ext.Util.Animate.stopAnimation() does not return eLEMENT


    That should be "Ext.core.Element" obviously.

    Ext.Util.Animate.stopAnimation() does not return Ext.core.Element as documented. (The documentation for stopAnimation() also has an erroneous @deprecated tag.)

    Code:
    Ext.onReady(function() {
      var cmp = Ext.create('Ext.Component', {
        height: 200,
        width: 300,
        html: 'I am a component.',
        renderTo: Ext.getBody()
      });
    
      console.log(cmp.animate({
        to: {
          opacity: 0,
        }
      }).animate({
        to: {
          opacity: 1
        }
      }).stopAnimation()); // Console logs "undefined"
    });

  2. #2
    Sencha - Ext JS Dev Team evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    16,833
    Vote Rating
    609
    evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute

      0  

    Default


    I've fixed this up. FYI it doesn't always return an Element, it returns the current type of thing you're animating (could be a component, sprite, etc).
    Evan Trimboli
    Sencha Developer
    Twitter - @evantrimboli
    Don't be afraid of the source code!

Similar Threads

  1. [FIXED-EXTJSIV-224] http 204 (No Content) return error
    By chrisbrianolsen in forum Ext:Bugs
    Replies: 9
    Last Post: 18 Apr 2014, 4:08 PM
  2. Replies: 4
    Last Post: 28 Apr 2011, 6:27 AM
  3. Replies: 0
    Last Post: 5 Apr 2011, 2:36 AM
  4. Replies: 7
    Last Post: 24 Mar 2011, 12:06 AM
  5. Replies: 8
    Last Post: 20 Nov 2009, 3:43 AM

Thread Participants: 1

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi