Results 1 to 2 of 2

Thread: how to destroy dom object with exit animation?

  1. #1
    Sencha User
    Join Date
    May 2012
    Posts
    12
    Vote Rating
    1
      0  

    Default how to destroy dom object with exit animation?

    Hi, I am trying to remove a custom #appLoadingIndicator DOM object using a sencha touch hide animation (like, slideOut). It is unclear to me how to accomplish this.

    in my index.html i have:

    <div id="appLoadingIndicator">...</div>

    in my controller code i have:

    Ext.fly('appLoadingIndicator').destroy()

    Any guidance would be greatly appreciated. Thanks!

  2. #2
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,556
    Answers
    3931
    Vote Rating
    1272
      0  

    Default

    Removing the destroy call, do you have the animation working for you?
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it! Checkout the CODE tag!

    Check out my GitHub, lots of nice things for Ext JS and Sencha Touch
    https://github.com/mitchellsimoens

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •