Hello
I've got the following code:
var Cover = new Class({
cover: function() {
????? call to setProperties function in Site Class?
}
})
var Site= = new Class({
var cover = new Cover();
setProperties: function() {
}
})
the Site Class initiates the Cover class - upon finishing the cover
function, I'd like to call the setProperties function in the Site
Class - I was trying to provide a callback function to new Cover
({callback: ....}) but that didn't work either.
What's the best way to do this.
Thank you in advance for your input.