add js save dialog
This commit is contained in:
@@ -167,7 +167,7 @@ public:
|
||||
bool clipboard_set_text(const std::string& s);
|
||||
void pick_image(std::function<void(std::string path)> callback);
|
||||
void pick_file(std::vector<std::string> types, std::function<void(std::string path)> callback);
|
||||
#if __IOS__
|
||||
#if __IOS__ || __WEB__
|
||||
void pick_file_save(const std::string& type, std::function<void(std::string path)> writer,
|
||||
std::function<void(bool saved)> callback);
|
||||
#else
|
||||
|
||||
Reference in New Issue
Block a user