Hi,
I'm trying to wrap my head around the new 5.4 JS support. I have the
following module which gets invoked whenever a zone is updated,
however, I have 12 zones on my page periodically updated. I don't know
at runtime which zone is updated, but I need to be notified about it.
So I have the following module:
define(["t5/core/dom", "t5/core/events"], function(dom, events) {
return function() {
dom.onDocument(events.zone.didUpdate, function() {
alert('how can I get ID of a zone that was updated?');
});
}
});
I have a hard time figuring out how to pass the ID of a zone that was updated.
Adam
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]