Hey legends,
I have a simple function as of right now that just does a print statement to the console, which is located in a different file from the webix object. Here is what I mean:
say I have function print:
function print(){console.log(“me”)}
in file 1. This has the necessary module export statements and what not. In file 2 it has your button webix object:
{view:“button”, click: print}
again this has the import statement needed for it to reference the function in file 1. Now this does not work (does not print "me:). However if I move the function from file 1 to file 2. It works just fine (“me” is now in the console). I don’t know if this is an issue with JS or webix in general.
Thanks