pub fn FileBrowser(_: FileBrowserProps) -> ElementExpand description
§Props
For details, see the props struct definition.
tree:FileNodeselected_path:Option<String>on_select:EventHandler<String>on_toggle_dir:EventHandler<String>on_new_file:Option<EventHandler<()>>New file, where the host keeps the reader’s files. A host that keeps none (a frame on another page) gives none, and the header offers no New file.
show_private_mode:boolnew_file_waits:Option<String>Why New file cannot make a file yet, such as the reader’s files still loading. While there is a reason, the button stays in place, disabled, and its tooltip gives the reason.