Link scope with onhashchange? #77
-
If it is already possible forgive me, but are we able to link the current scope and name with the browser hash? I say this because if I wanted to make a SPA of sorts I wouldn't be able to use the back button. Can you register scopes in a scope history of sorts? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
In PyWebIO, scope is implemented on the browser page through the html So, I'm recently planning a new feature to allow the pywebio app to support multiple pages. Apps can create new pages and switch between pages easily. |
Beta Was this translation helpful? Give feedback.
-
Currently, if you want to create multiple pages, I recommend passing in a list of task function as See also: https://pywebio.readthedocs.io/en/latest/guide.html#server-mode-and-script-mode |
Beta Was this translation helpful? Give feedback.
Currently, if you want to create multiple pages, I recommend passing in a list of task function as
applications
parameter instart_server()
.See also: https://pywebio.readthedocs.io/en/latest/guide.html#server-mode-and-script-mode