Falko Schindler

Results 226 comments of Falko Schindler
trafficstars

@Wetmelon Sorry, I haven't had time to look in to 0.5.5, yet.

I don't understand. Wouldn't that introduce a circular import dependency? - `main.py` wants `socket_handler.py`. - But `socket_handler.py` needs `socket_manager` from `main.py`, which is only created after importing `socket_handler.py`. In my...

I'm also very interested in JustPy taking steps towards improving its overall development process, including more people contributing, continuous testing etc. As our UI framework [NiceGUI](https://nicegui.io/) builds upon JustPy, we...

@sandeep-gh Interesting! That breaks the HTML and the alert is not executed, but at least that led me to a way to detect the issue and raise an exception in...

In a nutshell, when JavaScript code within an HTML file contains "", the code block terminates and the remaining code is treated as HTML: ```javascript console.log('console.log("script");'); ``` [Here](https://github.com/zauberzeug/justpy/blob/64dc98be63b9b0db2c8d2958feaf493791e36de7/justpy/templates/main.html#L37-37) is the...

@elimintz Do you have an idea, why JavaScript code contained in a `jp.Div` is not executed on the client? I'm testing with this line in main.html to hide the closing...

@elimintz That's what the line ```js var justpyComponents = {{ justpy_dict.replace('', '') | safe }}; ``` in my local copy of main.html is already taking care of. The script reaches...

Very interesting indeed! There doesn't seem to be an easy way to inject JavaScript via innerHtml. So I just replaced the closing script tag to make sure the whole app...

This is the code I'm experimenting with. Omitting one of the event handlers causes page updates after every slider change. ```python3 import justpy as jp def handle_change(sender, msg): print('CHANGE', sender,...