I want to wait until pyscript has fully loaded all packages and after that alter an element on the DOM.
I tried using window.addEventListener('load', create_proxy(func)) in pyscript. But to no avail, it does not execute the function. I also tried adding the event listener 'change' to the element that is being modified by pyscript. The element is used for inserting a table using the panel package. After the table is inserted I'd like to remove another element on the page.
Any help appreciated
