Results 1 to 3 of 3

Thread: Destroy After Animation Complete

  1. #1
    Sencha User
    Join Date
    Jan 2013
    Posts
    4
    Vote Rating
    0
      0  

    Default Destroy After Animation Complete

    Hi everybody,

    In my app i need to destroy the container after the animation is done.

    I do the animation with CSS3 transforms so it is not traceable, so i thought about a timer or a delay option for the destroy function?

    Thanks for advance.

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

    Default

    What animation? The element will fire an event when animation has finished.
    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

  3. #3
    Sencha User
    Join Date
    Jan 2013
    Posts
    4
    Vote Rating
    0
      0  

    Default

    thanks for reply
    i do the animation with add class with the new attributes

    Code:
    .x-layout-fit-item.x-sized.coverView
    {
    	width:100%;
    	height:100%;
    	background-image:url(../images/main.jpg);
    	-webkit-transform: rotateY(0deg);
    	-webkit-transition: all 1.5s ease-in-out;
    	-webkit-transform-origin: left center;
    	z-index:3;
    }
    .x-layout-fit-item.x-sized.coverFlip
    {
    	-webkit-transform: rotateY(-90deg);
    }

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
  •