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 User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,050
    Answers
    3976
    Vote Rating
    1381
      0  

    Default

    Removing the destroy call, do you have the animation working for you?
    Mitchell Simoens @LikelyMitch
    Modus Create, Senior Frontend Engineer
    ________________
    Need any sort of Ext JS help? Modus Create is here to help!

    Check out my GitHub:
    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
  •