How to change the window.showSaveFilePicker() title

Discussão em 'Angular' iniciado por shekhar kumar, Outubro 22, 2024.

  1. How to change the title in window.showSaveFilePicker() function.

    [​IMG]

    async function getNewFileHandle() {
    const opts = {
    types: [
    {
    description: "Text file",
    accept: { "text/plain": [".txt"] },
    },
    ],
    };
    return await window.showSaveFilePicker(opts);
    }
    getNewFileHandle();

    Continue reading...

Compartilhe esta Página