Move notes into example application section

This commit is contained in:
MatiasManevi
2026-02-23 18:13:44 -03:00
parent f989d40d89
commit f27b8d3d70
+3 -5
View File
@@ -110,6 +110,9 @@ write your application in C++ and compile it using Emscripten, you may want to
copy a subset of the `EMSCRIPTEN_BINDINGS` from `bindings.cc` into your
applications source file.
The package is ESM (`type: module`) and ships TypeScript types.
Ensure your bundler or dev server serves the `.wasm` asset at runtime.
### Named Access
The bindings support named access methods, similar to the Python bindings,
@@ -300,11 +303,6 @@ mujoco.get_mjFRAMESTRING()
This will return a javascript array representation of the values in MuJoCo `mjFRAMESTRING`.
### About assets
The package is ESM (`type: module`) and ships TypeScript types.
Ensure your bundler or dev server serves the `.wasm` asset at runtime.
## Development
In order to change the bindings you will need to change the [`bindings.cc`](codegen/generated/bindings.cc)