Hello,
I have a component which I attach to the Grid images. When I do following it seems that the Photos is per component not per instance. How can I make that per instance ?
define(
['flight/lib/component'],
function(defineComponent) {
return defineComponent(uiGrid);
function uiGrid() {
Photos = [];
this.initial = function () {
Photos.push('something');
};
});
Thanks,
Jorge