binance-fiat-widget
Advanced tools
Comparing version 0.0.11 to 0.0.12
{ | ||
"name": "binance-fiat-widget", | ||
"version": "0.0.11", | ||
"version": "0.0.12", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "dist/bundle.js", |
@@ -25,2 +25,3 @@ ## install | ||
- el: `css选择器`或`dom对象` | ||
## react | ||
```jsx | ||
@@ -42,3 +43,13 @@ import Widget from 'binance-fiat-widget' | ||
``` | ||
## cdn | ||
```html | ||
<script src="https://bin.bnbstatic.com/static/js/ocbs/binance-fiat-widget.js"></script> | ||
<div id="widget"></div> | ||
``` | ||
```javascript | ||
const t = document.querySelector('#test') | ||
Widget(t) | ||
``` | ||
- options.locale: `string` | ||
@@ -45,0 +56,0 @@ |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
44743
77
0