@opencor/opencor 0.20260314.0 → 0.20260318.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 +10 -0
- package/dist/opencor.css +1 -1
- package/dist/opencor.es.js +5024 -4971
- package/package.json +4 -3
package/README.md
CHANGED
|
@@ -67,4 +67,14 @@ import '@opencor/opencor/style.css';
|
|
|
67
67
|
</script>
|
|
68
68
|
```
|
|
69
69
|
|
|
70
|
+
- **Exposed methods:**
|
|
71
|
+
|
|
72
|
+
OpenCOR always exposes the following methods, which only have an effect when an `omex` prop is provided:
|
|
73
|
+
|
|
74
|
+
- `trackSimulationData(modelParameters: string[])`: adds the given parameter names to the list of tracked simulation data.
|
|
75
|
+
- `untrackSimulationData(modelParameters: string[])`: removes the given parameter names from the list of tracked simulation data.
|
|
76
|
+
- `untrackAllSimulationData()`: clears the list of tracked simulation data.
|
|
77
|
+
|
|
78
|
+
A parameter name is a string that identifies a parameter in the model and consists of the component in which the parameter is located and the name of the parameter itself, separated by a slash. For instance, `main/x` identifies the `x` parameter in the `main` component.
|
|
79
|
+
|
|
70
80
|
[](https://deepwiki.com/opencor/webapp)
|