@millistream/millistream-widgets 0.0.5 → 0.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/millistream-widgets.js +4446 -5062
- package/package.json +3 -3
- package/README.md +0 -33
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@millistream/millistream-widgets",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.9",
|
|
4
|
+
"description": "Millistream widgets node package",
|
|
4
5
|
"main": "millistream-widgets.js",
|
|
5
6
|
"scripts": {
|
|
6
7
|
"test": "echo \"Error: no test specified\" && exit 1"
|
|
7
8
|
},
|
|
8
9
|
"author": "Mats Fors (http://www.millistream.com)",
|
|
9
|
-
"license": "GPL-3.0"
|
|
10
|
-
"description": "Millistream widgets node package"
|
|
10
|
+
"license": "GPL-3.0"
|
|
11
11
|
}
|
package/README.md
DELETED
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
# Millistream Widgets
|
|
2
|
-
Millistream financial data widgets for websites.
|
|
3
|
-
|
|
4
|
-
## Installation
|
|
5
|
-
```bash
|
|
6
|
-
$ npm install @millistream/millistream-widgets
|
|
7
|
-
```
|
|
8
|
-
|
|
9
|
-
## Angular example
|
|
10
|
-
```html
|
|
11
|
-
<button (click)="loadList()">Load</button>
|
|
12
|
-
<div id="list"></div>
|
|
13
|
-
```
|
|
14
|
-
|
|
15
|
-
```js
|
|
16
|
-
...
|
|
17
|
-
loadList() {
|
|
18
|
-
(async function () {
|
|
19
|
-
const { Milli_List } = await import('@millistream/millistream-widgets');
|
|
20
|
-
let ml = new Milli_List({
|
|
21
|
-
list: [35207],
|
|
22
|
-
target: document.getElementById("list"),
|
|
23
|
-
token: '<insert token here>'
|
|
24
|
-
});
|
|
25
|
-
})();
|
|
26
|
-
```
|
|
27
|
-
|
|
28
|
-
## Widget documentation
|
|
29
|
-
Please refer to non npm-version documentation on widget customization.
|
|
30
|
-
https://widgets.millistream.com/3.0.2/doc/widgets.html
|
|
31
|
-
|
|
32
|
-
## Support
|
|
33
|
-
https://www.millistream.com
|