i try get view type when change it and pass on eventSources. how do it? my code:
...
eventSources: [{
events: function(info, successCallback, failureCallback) {
console.log("current view is ...");
}
}],
...
i try get view type when change it and pass on eventSources. how do it? my code:
...
eventSources: [{
events: function(info, successCallback, failureCallback) {
console.log("current view is ...");
}
}],
...