Jump to content

Javascript <> Delphi class properties


GoldLine

Recommended Posts

Hello Sherzod,

f.e.

function beforeInit(sender, config)
{
  config.listeners= {
        click: {
            element: 'el',
            fn: function(e,el){      

                if (MainmForm.pnlOrder.Enabled==true) {                                <== something like that
                TweenLite.fromTo($('#'+el.id), 0.2,{backgroundColor :'#ffffff'},{backgroundColor :'#d2d2d2',onComplete:function(){
                 TweenLite.to($('#'+el.id), 1.0,{backgroundColor :'#ffffff'})
                 } }
                });                                                          
            }
        }
    };
}

Link to comment
Share on other sites

×
×
  • Create New...