Display the recording prompt dialog (nicegui.ui.card).
Last updated 1 year ago
def recording_prompt(options: list[str], record_button: ui.button) -> None:
options
A list of strings for autocompletion.
list
record_button
The button used to start recordings, to modify states (record / stop recording).
This function includes a few nested functions for organizing control flow:
terminate() -> None
begin() -> None
on_record() -> None