i'm new to javascript , i created a new client action ,added a template then a js file that extend the AbstractAction
var JsClientView = AbstractAction.extend({
//contentTemplate: 'UploadDocumentMainMenu',
template: 'JsClientView',
events: {
'click .mybutton': '_onButton',
},
it's working perfectlu now i want to add dynamic variables to my template , i just want to know how can i pass it to the template