8000 Fix Click test example (#1849) · shivashankarv/pyscript@5a15199 · GitHub
[go: up one dir, main page]

Skip to content

Commit 5a15199

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

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pyscript.core/test/click.html

Lines 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