Deleting elements from a page #904
-
QuestionHi, Specifically, I wonder whether the Tryton web-client (see https://demo.tryton.org/) could be implemented in nicegui. In Tryton, the content of each tab-panel is created dynamically based on information from the server. If the content-instructions have changed, after closing and re-opening a tab, the new content needs to be show. Thus the WUI element needs to be deleted from the web page. Any idea or example how this could be done? (I managed to create tab panels on event, so this question is only about deleting.) |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Each element has a |
Beta Was this translation helpful? Give feedback.
Each element has a
remove
method. See here for an example: https://nicegui.io/documentation#clear_containers