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

31 lines
514 B
Markdown
Raw Normal View History

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