Skip to content

ui.shutdown

Choose a tag to compare

@rodja rodja released this 15 Sep 11:14

The UI is now stoppable with ui.shutdown (see #83). Example:

from nicegui import ui

ui.label('Your UI...')
ui.button('Quit', on_click=ui.shutdown)
ui.run(reload=False)

print('Do something else...')