0

Using imageLoader events

Hi all,

I have imageLoader working on a site and I was thinking about running some JavaScript as soon as the imageLoader loaded the images.

I have gone through the API documentation and tried several ways to get to the events such as ...

CODE
        dressesGroup.on("fire",function (){  

});

dressesGroup.on('classNameChange',function (){

});

dressesGroup.classNameChange = function(){

}

function eatThis(){

}

Y.on(dressesGroup.classNameChange, eatThis);

function fetching(e){


}


but I without luck so far.

For some background information, what I am really trying to do is add some custom styling to the element before and after the image load.

Any suggestions?

by
1 Reply
This forum is locked.

Recent Posts

in YDN Documentation