edifice.use_stop#
- edifice.use_stop()[source]#
This Hook returns a function which will stop the application by calling
App.stop()
.stop = use_stop() Button("Exit", on_click=lambda _: stop())
- Return type:
Callable
[[],None
]
This Hook returns a function which will stop the application by calling
App.stop()
.
stop = use_stop()
Button("Exit", on_click=lambda _: stop())
Callable
[[], None
]