Expand description
Wire methods: nativeHost:showSaveDialog, UserInterface.ShowSaveDialog.
Both surface a blocking save-file dialog via tauri_plugin_dialog. The
difference is in the return shape:
nativeHost:showSaveDialog→{ canceled: bool, filePath?: string }UserInterface.ShowSaveDialog→ bare path string (or null) so Wind’stypeof Result === "string"guard finds a string value directly.
Functions§
- Native
Show Save Dialog nativeHost:showSaveDialog- returns{ canceled, filePath }.- User
Interface Show Save Dialog UserInterface.ShowSaveDialog- returns bare path string or null. Wind’sFiles/Live.tscalls this and checkstypeof Result === "string".