We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gui.js
The current signature is very misleading because its src=... argument does not take a javascript URL, but simply raw javascript code.
src=...
def js(src: str, **kwargs): ...
ExecJs only creates a Function out of it (using the raw body as the function's body, inside useEffect).
ExecJs
Function
useEffect
gooey-gui/app/renderer.tsx
Lines 456 to 471 in d6af022
The text was updated successfully, but these errors were encountered:
let f = new Function("a", "b", "console.log(a);")
will be same as
let f = (a, b) => { console.log(a); }
Sorry, something went wrong.
No branches or pull requests
The current signature is very misleading because its
src=...
argument does not take a javascript URL, but simply raw javascript code.ExecJs
only creates aFunction
out of it (using the raw body as the function's body, insideuseEffect
).gooey-gui/app/renderer.tsx
Lines 456 to 471 in d6af022
The text was updated successfully, but these errors were encountered: