@simpoobusiness/sdk 1.0.16 → 1.0.17
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 +1 -4
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -66,7 +66,7 @@ Render the inventory widget in a container.
|
|
|
66
66
|
|
|
67
67
|
**Parameters:**
|
|
68
68
|
|
|
69
|
-
- `widget_name` (string) –
|
|
69
|
+
- `widget_name` (string) – name for the inventory widget.
|
|
70
70
|
- `selector` (string) – CSS selector for the container.
|
|
71
71
|
|
|
72
72
|
**Example:**
|
|
@@ -81,9 +81,6 @@ SimpooSDK.renderWidget("inventory", "#inventory-widget");
|
|
|
81
81
|
|
|
82
82
|
- **Widget not rendering?**
|
|
83
83
|
Ensure the container `<div>` exists and the selector matches.
|
|
84
|
-
- **No styles applied?**
|
|
85
|
-
Make sure `<link rel="stylesheet" href="https://cdn.example.com/simpoo-sdk.css">` is included.
|
|
86
|
-
<!-- *(If missing, the SDK will auto-inject CSS.)* -->
|
|
87
84
|
|
|
88
85
|
---
|
|
89
86
|
|