2021-03-22 08:39:09 +00:00
|
|
|
# Javascript API
|
2021-07-26 23:00:27 +00:00
|
|
|
|
2021-03-22 08:39:09 +00:00
|
|
|
Backward compatibility of the API is not guaranteed at this point.
|
|
|
|
|
2021-03-25 16:26:07 +00:00
|
|
|
## Globals
|
2021-07-26 23:00:27 +00:00
|
|
|
|
2021-03-22 08:39:09 +00:00
|
|
|
```{eval-rst}
|
2021-03-31 22:43:46 +00:00
|
|
|
.. js-doc-summary:: globalThis
|
|
|
|
.. js-doc-content:: globalThis
|
2021-03-25 16:26:07 +00:00
|
|
|
```
|
2021-03-22 08:39:09 +00:00
|
|
|
|
2021-03-25 16:26:07 +00:00
|
|
|
(js-api-pyodide)=
|
2021-07-26 23:00:27 +00:00
|
|
|
|
2021-03-25 16:26:07 +00:00
|
|
|
## pyodide
|
2021-07-26 23:00:27 +00:00
|
|
|
|
2021-03-25 16:26:07 +00:00
|
|
|
```{eval-rst}
|
|
|
|
.. js-doc-summary:: pyodide
|
|
|
|
.. js-doc-content:: pyodide
|
|
|
|
```
|
|
|
|
|
|
|
|
(js-api-pyproxy)=
|
2021-07-26 23:00:27 +00:00
|
|
|
|
2021-03-25 16:26:07 +00:00
|
|
|
## PyProxy
|
2021-07-26 23:00:27 +00:00
|
|
|
|
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-07-26 23:00:27 +00:00
|
|
|
|
2021-03-25 16:26:07 +00:00
|
|
|
```{eval-rst}
|
|
|
|
.. js-doc-summary:: PyProxy
|
|
|
|
.. js-doc-content:: PyProxy
|
2021-03-22 08:39:09 +00:00
|
|
|
```
|