We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f48e1a1 commit 80a299aCopy full SHA for 80a299a
1 file changed
pywry/docs/docs/getting-started/quickstart.md
@@ -60,7 +60,7 @@ html = """
60
<div style="padding: 20px; text-align: center;">
61
<h1 id="greeting">Welcome to PyWry</h1>
62
<p>This is rendered HTML with styling.</p>
63
- <button onclick="window.pywry.emit('app:button-click', {clicked: true})">
+ <button onclick="document.getElementById('greeting').textContent = 'You clicked the button!'">
64
Click me!
65
</button>
66
</div>
@@ -74,7 +74,7 @@ app.block()
74
75
- Pass any valid HTML string to `app.show()`
76
- Use `title`, `width`, `height` to customize the window
77
-- JavaScript can call `window.pywry.emit()` to send events to Python
+- The rendered HTML is fully interactive — see the next section to send events back to Python
78
79
---
80
0 commit comments