Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
2926 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
21749
0
thg 12 19
4489
2
thg 2 24
2191
1
thg 10 23
2186
0
thg 4 20
3222