0.0.34 • Published 7 months ago
@types/cordova-plugin-email-composer v0.0.34
Installation
npm install --save @types/cordova-plugin-email-composer
Summary
This package contains type definitions for Apache Cordova Email Composer plugin (https://github.com/katzer/cordova-plugin-email-composer).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/cordova-plugin-email-composer.
index.d.ts
// Type definitions for Apache Cordova Email Composer plugin
// Project: https://github.com/katzer/cordova-plugin-email-composer
// Definitions by: Dave Taylor <http://davetayls.me>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
/**
* The plugin provides access to the standard interface that manages the
* editing and sending an email message
*/
interface CordovaPluginEmailComposer {
/** Determine if the device is capable to send emails */
isAvailable(callback:(isAvailable:boolean) => void, scope?:any):void;
/** Open a pre-filled email draft */
open(options?:ICordovaPluginEmailComposerOpenOptions, callback?:() => void, scope?:any):void;
openDraft(options?:ICordovaPluginEmailComposerOpenOptions, callback?:() => void, scope?:any):void;
}
interface ICordovaPluginEmailComposerOpenOptions {
/** An configured email account is required to send emails */
to?:string[] | undefined;
body?:string | undefined;
cc?:string[] | undefined;
bcc?:string[] | undefined;
/** Attachments can be either base64 encoded datas, files from the the device storage or assets from within the www folder */
attachments?:any[] | undefined;
subject?:string | undefined;
/** The default value for isHTML is true */
isHtml?:boolean | undefined;
}
interface CordovaPlugins {
email:CordovaPluginEmailComposer;
}
Additional Details
- Last updated: Thu, 08 Jul 2021 09:08:15 GMT
- Dependencies: none
- Global values: none
Credits
These definitions were written by Dave Taylor.
0.0.32
9 months ago
0.0.33
7 months ago
0.0.34
7 months ago
0.0.31
3 years ago
0.0.30
4 years ago
0.0.29
8 years ago
0.0.28
8 years ago
0.0.27-alpha
8 years ago
0.0.26-alpha
8 years ago
0.0.25-alpha
8 years ago
0.0.24-alpha
8 years ago
0.0.23-alpha
8 years ago
0.0.22-alpha
8 years ago
0.0.21-alpha
8 years ago
0.0.16-alpha
8 years ago
0.0.15-alpha
8 years ago