Success! Looks like we've fixed this one. According to our records the fix was applied for TOUCH-956 in a recent build.
  1. #1
    Sencha User
    Join Date
    Oct 2011
    Posts
    17
    Vote Rating
    0
    Sondergard is on a distinguished road

      0  

    Default No callback for Ext.Anim ??

    No callback for Ext.Anim ??


    Can it really be true that there is no callback available for animations in Sencha Touch 2?

    'before' is written in the console, but 'after' is not. I'm aware that the property after does not appear in the documentation, but i was hoping it was a mistake..

    Code:
    Ext.Anim.run(Ext.get("infoBar"),'slide',{
    direction: 'down',
    duration: 200, before: function(){
    console.log("before");
    },
    after: function(){
    console.log("after");
    }
    });

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    35,724
    Vote Rating
    752
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    Looking at the Ext.Anim source, it is listening for the webkitTransitionEnd event to fire the after function.
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

  3. #3
    Sencha User
    Join Date
    Oct 2011
    Posts
    17
    Vote Rating
    0
    Sondergard is on a distinguished road

      0  

    Default


    Hey Mitchell

    The event doesn't seem to be called in neither

    - Safari version 5.1.1 (7534.51.22)

    - Google Crome 15.0.874.106

    The same problem seems to occur in Sencha Touch 1.0
    http://www.sencha.com/forum/showthre...ot-always-fire

    Is this a bug? and is there a way to fix it?

  4. #4
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    35,724
    Vote Rating
    752
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    I've had after firing on ST 1.1.0 I know for a fact but I am moving this to the bugs forum and pushing to our bug tracker.
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

  5. #5
    Sencha - Sencha Touch Dev Team rdougan's Avatar
    Join Date
    Oct 2008
    Posts
    1,158
    Vote Rating
    6
    rdougan will become famous soon enough

      0  

    Default


    This class has not been touched in ST2 yet as the way animations work is changing.

    In PR3, you can use something something like this:

    Code:
    Ext.Animator.run({
        element  : panel.element,
        xclass   : 'Ext.fx.animation.SlideIn',
        direction: 'left',
        duration : 500,
        onEnd: function() {
            console.log('onEnd');
        }
    });
    However, chances are, this WILL change before the final release.

    Edit:

    FYI, i've fixed your issue anyway for the next release.
    Sencha Inc.
    Robert Dougan - @rdougan
    Sencha Touch 2 and Ext JS 4 Core Team Member, SASS/Theming Wizard.

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar