@vicaniddouglas/js_aide 1.17.0 → 1.18.0
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 +2 -2
- package/dist/js_aide.cjs.js +9 -9
- package/dist/js_aide.cjs.js.map +3 -3
- package/dist/js_aide.esm.js +8 -8
- package/dist/js_aide.esm.js.map +3 -3
- package/dist/js_aide.min.js +9 -9
- package/dist/js_aide.min.js.map +3 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -420,7 +420,7 @@ Returns the input value as a **string** on submit, or `null` if cancelled.
|
|
|
420
420
|
```javascript
|
|
421
421
|
const name = await popup.prompt("Enter your display name:", {
|
|
422
422
|
placeholder: "e.g., Douglas",
|
|
423
|
-
inputType: "text", // Options: text, number, currency, password
|
|
423
|
+
inputType: "text", // Options: text, number, float, comms, currency, password
|
|
424
424
|
});
|
|
425
425
|
|
|
426
426
|
if (name) {
|
|
@@ -430,7 +430,7 @@ if (name) {
|
|
|
430
430
|
|
|
431
431
|
| Prompt Option | Description |
|
|
432
432
|
| :------------- | :------------------------------------------------------------------ |
|
|
433
|
-
| `inputType` | Controls input behavior (`text`, `number`, `currency`, `password`). |
|
|
433
|
+
| `inputType` | Controls input behavior (`text`, `number`, `float`, `comms`, `currency`, `password`). |
|
|
434
434
|
| `defaultValue` | Initial text inside the input. |
|
|
435
435
|
| `submitText` | Text for the action button (default: "Submit"). |
|
|
436
436
|
| `cancelText` | Text for the dismiss button (default: "Cancel"). |
|