Skip to content

Commit 80a299a

Browse files
author
deeleeramone
committed
docs page quickstart story
1 parent f48e1a1 commit 80a299a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

pywry/docs/docs/getting-started/quickstart.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ html = """
6060
<div style="padding: 20px; text-align: center;">
6161
<h1 id="greeting">Welcome to PyWry</h1>
6262
<p>This is rendered HTML with styling.</p>
63-
<button onclick="window.pywry.emit('app:button-click', {clicked: true})">
63+
<button onclick="document.getElementById('greeting').textContent = 'You clicked the button!'">
6464
Click me!
6565
</button>
6666
</div>
@@ -74,7 +74,7 @@ app.block()
7474

7575
- Pass any valid HTML string to `app.show()`
7676
- Use `title`, `width`, `height` to customize the window
77-
- JavaScript can call `window.pywry.emit()` to send events to Python
77+
- The rendered HTML is fully interactive — see the next section to send events back to Python
7878

7979
---
8080

0 commit comments

Comments
 (0)