@3dsource/metabox-modular-configurator-api 3.0.16 → 3.0.18
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
CHANGED
|
@@ -771,7 +771,6 @@ Event-driven architecture for reactive state management. Register listeners via
|
|
|
771
771
|
| ----------------------------- | --------------------------------------------- | ---------------------------- | ------------------------------------- |
|
|
772
772
|
| `configuratorDataUpdated` | `ModularConfiguratorEnvelope` | Configuration state changed | Sync UI with component tree/materials |
|
|
773
773
|
| `ecomConfiguratorDataUpdated` | `EcomConfigurator` | CTA configuration loaded | Display CTA button with label |
|
|
774
|
-
| `dataChannelConnected` | `boolean` | Unreal data channel status | Connection health monitoring |
|
|
775
774
|
| `viewportReady` | `boolean` | 3D viewport ready state | Hide loading, enable interactions |
|
|
776
775
|
| `showcaseStatusChanged` | `ShowCaseStatus` | Animation playback status | Update play/pause button state |
|
|
777
776
|
| `statusMessageChanged` | `string \| null` | Loading/progress message | Display user feedback |
|
|
@@ -809,16 +808,6 @@ api.addEventListener('screenshotReady', (imageData: string | null) => {
|
|
|
809
808
|
});
|
|
810
809
|
```
|
|
811
810
|
|
|
812
|
-
**Connection Monitoring:**
|
|
813
|
-
|
|
814
|
-
```typescript
|
|
815
|
-
api.addEventListener('dataChannelConnected', (isConnected: boolean) => {
|
|
816
|
-
const indicator = document.getElementById('connection-status');
|
|
817
|
-
indicator.textContent = isConnected ? 'Connected' : 'Disconnected';
|
|
818
|
-
indicator.className = isConnected ? 'status-ok' : 'status-error';
|
|
819
|
-
});
|
|
820
|
-
```
|
|
821
|
-
|
|
822
811
|
**Loading State:**
|
|
823
812
|
|
|
824
813
|
```typescript
|