We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 94d6a91 commit c38796bCopy full SHA for c38796b
wasm/demo/src/index.html
@@ -51,12 +51,17 @@ <h3>Standard Output</h3>
51
</li>
52
<li>
53
<code>vars</code>: an object that will be available in
54
- python as the variable <code>js_vars</code>. Again, only
55
- values that can be serialized with
+ python as the variable <code>js_vars</code>. Only
+ functions and values that can be serialized with
56
<code>JSON.stringify()</code> will go through.
57
58
</ul>
59
60
+ <li>
61
+ JS functions that get passed to python will recieve positional
62
+ args as positional args and kwargs as the
63
+ <code>this</code> argument
64
+ </li>
65
66
67
<a href="https://github.com/RustPython/RustPython">
0 commit comments