pyodide/docs/usage/api/js-api.md

31 lines
514 B
Markdown

# JavaScript API
Backward compatibility of the API is not guaranteed at this point.
## Globals
```{eval-rst}
.. js-doc-summary:: globalThis
.. js-doc-content:: globalThis
```
(js-api-pyodide)=
## pyodide
```{eval-rst}
.. js-doc-summary:: pyodide
.. js-doc-content:: pyodide
```
(js-api-pyproxy)=
## PyProxy
A PyProxy is an object that allows idiomatic use of a Python object from JavaScript. See {ref}`type-translations-pyproxy`.
```{eval-rst}
.. js-doc-summary:: PyProxy
.. js-doc-content:: PyProxy
```