Is there a better way to exchange FILEURL with JS
Is there a better way to exchange FILEURL with JS?
I was able to change it by creating a global variable and linking it to the file url path, but I wonder if there is a more optimized way?
Is there a better way to exchange FILEURL with JS?
I was able to change it by creating a global variable and linking it to the file url path, but I wonder if there is a more optimized way?
Binding to an app param is good and can help if you are having UI update issues. Using app.param is a useful approach.
Going forward I have started using
$scope.setWidgetProp("Your widget name" , "attribute name" , value)
and
$scope.getWidgetProp ("Your widget name" , "attribute name")
as opposed tp
$scope.view.wdg["Text-1].text = "some text";
The set and get are higher functions and do additional work
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.