|
Title: onLoad event with easyloader Post by: Ellipsis on May 30, 2012, 02:31:24 AM Hello,
I hope someone can give me a pointer in the good direction: When using the easyloader, I want to call a function when all dependencies are loaded. How do I do this? Best regards, Title: Re: onLoad event with easyloader Post by: stworthy on May 30, 2012, 03:01:31 AM The example below shows how to use the easyloader plugin to load the specified module:
Code: easyloader.load('messager', function(){ // load the specified module Code: using('messager', function(){ // load the specified module Title: Re: onLoad event with easyloader Post by: Ellipsis on May 30, 2012, 03:25:01 AM Thank you so much!
The given was my first attempt, but it seemed to fire the called function to fast. I got : datagrid not defined Now it works, I wish I could see what I did wrong. There is also the possibillity to use onProgress, how would this work then? |