Add support to py- events that map all js events available (#561)

* added the  py- events throughout pyscript.ts

* Integrated the py- event throughout the examples

* Fixed spelling error
This commit is contained in:
Leonardo Pliger
2022-06-29 17:49:21 -05:00
committed by GitHub
parent 506ac2574f
commit ee9b0960f7
6 changed files with 109 additions and 20 deletions

View File

@@ -28,7 +28,7 @@
</div>
<div>
<input id="new-task-content" class="py-input" type="text">
<button id="new-task-btn" class="py-button" type="submit" pys-onClick="add_task">
<button id="new-task-btn" class="py-button" type="submit" py-onClick="add_task">
Add task
</button>
</div>