Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
2781 Lượt xem

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

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 4 23
21513
0
thg 12 19
4378
2
thg 2 24
2070
1
thg 10 23
2041
0
thg 4 20
3074