equal
deleted
inserted
replaced
42 } |
42 } |
43 | ]`if "position()!=last()" > ,` |
43 | ]`if "position()!=last()" > ,` |
44 } |
44 } |
45 | ] |
45 | ] |
46 | }, |
46 | }, |
47 | on_click: function(opstr, evt) { |
|
48 | console.log(opstr); |
|
49 | }, |
|
50 | item_offset: 0, |
47 | item_offset: 0, |
|
48 | on_click: foreach_onclick, |
51 } |
49 } |
52 |
50 |
53 template "widget[@type='ForEach']", mode="widget_subscribe"{ |
51 template "widget[@type='ForEach']", mode="widget_subscribe"{ |
54 // param "hmi_element"; |
52 // param "hmi_element"; |
55 | sub: function(off){ |
53 | sub: foreach_subscribe, |
56 | foreach_subscribe.call(this,off); |
54 | unsub: foreach_unsubscribe, |
57 | }, |
55 | apply_cache: foreach_apply_cache, |
|
56 } |
58 |
57 |
59 | unsub: function(){ |
|
60 | foreach_unsubscribe.call(this); |
|
61 | }, |
|
62 } |
|