2 Commits

Author SHA1 Message Date
Neon22
9a70943a36 Update when.md (#1554)
* Update when.md: include info on importing when to get access

---------

Co-authored-by: Jeff Glass <glass.jeffrey@gmail.com>
2023-06-21 17:56:47 -05:00
Jeff Glass
3a66be585f Add @when decorator (#1428)
* Add new _event_handling.py file with @when decorator

* @when decorate is in pyscript package namespace/_all__

* Write tests in new test_event_handling.py

* Add docs for @when decorator

------------

Co-authored-by: Mariana Meireles <marian.meireles@gmail.com>
2023-05-01 09:51:49 -05:00