equal
deleted
inserted
replaced
1 // widget_jsontable.ysl2 |
1 // widget_jsontable.ysl2 |
2 |
2 |
3 template "widget[@type='JsonTable']", mode="widget_class" |
3 template "widget[@type='JsonTable']", mode="widget_class" |
4 || |
4 || |
5 class JsonTableWidget extends Widget{ |
5 class JsonTableWidget extends Widget{ |
6 cache = []; |
6 cache = [100,50]; |
7 do_http_request(...opt) { |
7 do_http_request(...opt) { |
8 const query = { |
8 const query = { |
9 args: this.args, |
9 args: this.args, |
10 vars: this.cache, |
10 range: this.cache[1], |
|
11 position: this.cache[2], |
11 visible: this.visible, |
12 visible: this.visible, |
12 options: opt |
13 options: opt |
13 }; |
14 }; |
14 |
15 |
15 const options = { |
16 const options = { |