Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 5a15199

Browse filesBrowse files
authored
Fix Click test example (#1849)
* fix type in div id * add types
1 parent 1801472 commit 5a15199
Copy full SHA for 5a15199

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎pyscript.core/test/click.html

Copy file name to clipboardExpand all lines: pyscript.core/test/click.html
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
def on_click(event):
1919
print(f"Hello from Python! {dt.now()}")
20-
display(f"Hello from Python! {dt.now()}", append=False, target='eresult')
20+
display(f"Hello from Python! {dt.now()}", append=False, target='result')
2121

2222
add_event_listener(element, "click", on_click)
2323
</script>

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.