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

@@ -49,8 +49,8 @@
</div>
</div>
<div class="control">
<button id="run" type="button" class="button is-primary" pys-onClick="run">Run!</button>
<button id="clear" type="button" class="button is-danger" pys-onClick="clear">Clear</button>
<button id="run" type="button" class="button is-primary" py-onClick="run">Run!</button>
<button id="clear" type="button" class="button is-danger" py-onClick="clear">Clear</button>
</div>
</div>