Incentro Javascript widget how to use attributes inside the JavaScript code

1
I am using the incentro javascript widget: https://marketplace.mendix.com/link/component/43096   Does anyone know how to get the attribute value inside the javascript? 1 I added the attribute “UserName” as variable named: “user” 2 I added the following javascript:   3 the second alert is not being returned      
asked
1 answers
1

Try the following for the second alert.

 

alert(${user});

 

answered