Results 1 to 3 of 3

Thread: ExtJS Animations

  1. #1

    Default ExtJS Animations

    I'm looking to enhance some of my UI with some basic animations. Is there any support for this in the framework?

  2. #2
    Sencha User crysfel's Avatar
    Join Date
    Feb 2008
    Location
    New York, USA
    Posts
    218
    Answers
    7

    Default

    Sure, there is! Take a look a the Ext.util.Animation class: http://docs.sencha.com/ext-js/4-1/#!...t.util.Animate

    Code:
    var p1 = Ext.get('myElementId'); //Getting a dom element by ID
    
    p1.animate({
        duration: 100,
        to: {
            opacity: 0
        }
    });

  3. #3

    Default

    this is great! Thanks.

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
  •