Results 1 to 2 of 2

Thread: element.fadeIn() is not available

  1. #1
    Touch Premium Member liuxing_sc's Avatar
    Join Date
    Aug 2011
    Location
    China
    Posts
    38
    Vote Rating
    0
      0  

    Default element.fadeIn() is not available

    element.fadeIn() is not available in 4.1

  2. #2
    Sencha User evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    19,011
    Vote Rating
    940
      0  

    Default

    Do you have a test case?

    Code:
    Ext.require('Ext.fx.*');
    Ext.onReady(function() {
        
        var el = Ext.getBody().createChild({
            tag: 'div',
            style: {
                width: '100px',
                height: '100px',
                backgroundColor: 'red'
            }
        });
        
        el.setOpacity(0);
        el.fadeIn({
            duration: 3000
        });
        
    });
    Twitter - @evantrimboli
    Former Sencha framework engineer, available for consulting.
    As of 2017-09-22 I am not employed by Sencha, all subsequent posts are my own and do not represent Sencha in any way.

Posting Permissions

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