Community Tip - If community subscription notifications are filling up your inbox you can set up a daily digest and get all your notifications in a single email. X
Hello,
I am trying to create a universal function which return name of a widget where is called:
Can be used for this example a keyword this ?
$scope.getWidgetName = function (){
return this.view.wdg.studioID; //something like this
}
Thank you for answer.
Tomas
Solved! Go to Solution.
Hi, tcharvat
This is the way to extract the Studio Id of a widget .
$scope.getWidgetName = function () {
var StudioId=this["widgetId"];
console.log(StudioId);
}
i hope i was helpful...
Hi, tcharvat
This is the way to extract the Studio Id of a widget .
$scope.getWidgetName = function () {
var StudioId=this["widgetId"];
console.log(StudioId);
}
i hope i was helpful...