EasyUI Forum
November 05, 2025, 09:27:29 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: how to use EasyLoader's onLoad Event  (Read 10613 times)
Tareq
Newbie
*
Posts: 4


View Profile
« on: January 06, 2013, 07:01:03 PM »

Hi,

Could any one please help me about how can I use easyloader's onLoad event with some example code?

In doc it's not clear for me.... Please provide example use....
Logged
stworthy
Administrator
Hero Member
*****
Posts: 3581


View Profile Email
« Reply #1 on: January 07, 2013, 06:27:35 PM »

Here is the example using 'onLoad' event.
Code:
easyloader.onLoad = function(name){
console.log(name);
};
using('calendar', function(){
$('#cc').calendar({
width:180,
height:180
});
});
Logged
Tareq
Newbie
*
Posts: 4


View Profile
« Reply #2 on: January 07, 2013, 08:29:16 PM »

It works. Thanks.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!