@types/cordova-plugin-save-dialog
TypeScript icon, indicating that this package has built-in type declarations

2.0.0 • Public • Published

Installation

npm install --save @types/cordova-plugin-save-dialog

Summary

This package contains type definitions for cordova-plugin-save-dialog (https://github.com/Amphiluke/cordova-plugin-save-dialog).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/cordova-plugin-save-dialog.

declare namespace CordovaPluginsSaveDialog {
    interface CordovaPluginsSaveDialog {
        /**
         * Opens a save dialog and store raw contents in a file.
         *
         * @param blob The file contents.
         * @param name A file name to display on default. If omitted, `unknown` is used.
         *
         * @returns A promise whose fulfillment value is a URI of the saved file in the user-selected location.
         */
        saveFile(blob: Blob, name?: string): Promise<string>;
    }
}

interface CordovaPlugins {
    saveDialog: CordovaPluginsSaveDialog.CordovaPluginsSaveDialog;
}

Additional Details

  • Last updated: Tue, 27 Feb 2024 16:07:09 GMT
  • Dependencies: none

Credits

These definitions were written by Edoardo Morandi.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/cordova-plugin-save-dialog

Weekly Downloads

14

Version

2.0.0

License

MIT

Unpacked Size

3.92 kB

Total Files

5

Last publish

Collaborators

  • types