@depay/widgets 6.10.0 → 6.12.1
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/README.md +11 -0
- package/dist/esm/index.bundle.js +417 -164
- package/dist/esm/index.js +374 -122
- package/dist/umd/index.bundle.js +417 -164
- package/dist/umd/index.js +377 -125
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -662,6 +662,17 @@ alongside values for `start`, `min` and `step`.
|
|
|
662
662
|
|
|
663
663
|
`step`: The number by wich to increment/decremten changes to the amount.
|
|
664
664
|
|
|
665
|
+
`token`: Set to `true` if you want amount selection to be denominated in the token you're selling, e.g.:
|
|
666
|
+
|
|
667
|
+
```javascript
|
|
668
|
+
DePayWidgets.Sale({
|
|
669
|
+
sell: {...},
|
|
670
|
+
amount: {
|
|
671
|
+
token: true
|
|
672
|
+
}
|
|
673
|
+
});
|
|
674
|
+
```
|
|
675
|
+
|
|
665
676
|
#### connected
|
|
666
677
|
|
|
667
678
|
`connected`
|