How to change the title in window.showSaveFilePicker() function.
async function getNewFileHandle() {
const opts = {
types: [
{
description: "Text file",
accept: { "text/plain": [".txt"] },
},
],
};
return await window.showSaveFilePicker(opts);
}
getNewFileHandle();
You need to sign in to view this answers