@@ -28,14 +28,14 @@ The `component_reference` skill is **mandatory** — it contains the only correc
2828
2929| Event | Payload | Purpose |
3030| :---| :---| :---|
31- | ` grid:update-data ` | ` {"data": [...], "strategy": "set\ |append\ |update"} ` | Replace, append, or merge grid rows |
31+ | ` grid:update-data ` | `{"data": [ ...] , "strategy": "set| append| update"}` | Replace, append, or merge grid rows |
3232| ` grid:request-state ` | ` {} ` | Request grid state (response via ` grid:state-response ` ) |
3333| ` grid:restore-state ` | ` {"state": {...}} ` | Restore a saved grid state |
34- | ` grid:reset-state ` | ` {"hard": true\ |false} ` | Soft reset (keeps columns) or hard reset |
34+ | ` grid:reset-state ` | `{"hard": true| false}` | Soft reset (keeps columns) or hard reset |
3535| ` plotly:update-figure ` | ` {"data": [...], "layout": {...}} ` | Replace chart data and layout |
3636| ` plotly:request-state ` | ` {} ` | Request chart state |
3737| ` pywry:set-content ` | ` {"id": "...", "text": "..."} ` or ` {"id": "...", "html": "..."} ` | Update a DOM element |
38- | ` pywry:update-theme ` | ` {"theme": "dark\ |light\ |system"} ` | Switch theme |
38+ | ` pywry:update-theme ` | `{"theme": "dark| light| system"}` | Switch theme |
3939| ` toolbar:set-value ` | ` {"componentId": "...", "value": "..."} ` | Set a toolbar component's value |
4040| ` toolbar:request-state ` | ` {} ` | Request all toolbar values (response via ` toolbar:state-response ` ) |
4141
@@ -484,8 +484,8 @@ All three parameters are **required**.
484484| ` pywry:set-content ` | ` {"id": "elementId", "text": "..."} ` | Set element ` textContent ` |
485485| ` pywry:set-content ` | ` {"id": "elementId", "html": "..."} ` | Set element ` innerHTML ` |
486486| ` pywry:set-style ` | ` {"id": "elementId", "styles": {"color": "red", "fontSize": "18px"}} ` | Update CSS styles |
487- | ` pywry:update-theme ` | ` {"theme": "dark\ |light\ |system"} ` | Switch theme |
488- | ` pywry:alert ` | ` {"message": "...", "type": "info\ |success\ |warning\ |error"} ` | Show toast |
487+ | ` pywry:update-theme ` | `{"theme": "dark| light| system"}` | Switch theme |
488+ | ` pywry:alert ` | `{"message": "...", "type": "info| success| warning| error"}` | Show toast |
489489| ` pywry:navigate ` | ` {"url": "https://..."} ` | Client-side redirect |
490490| ` pywry:download ` | ` {"content": "...", "filename": "...", "mimeType": "text/plain"} ` | Trigger file download |
491491
0 commit comments