From eee5fd0c172626294fcbc711b1f5af9def076345 Mon Sep 17 00:00:00 2001 From: mhartington Date: Tue, 5 Jul 2016 16:11:27 -0400 Subject: [PATCH] docs(Base64ToGallery): update docs --- src/plugins/base64togallery.ts | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/plugins/base64togallery.ts b/src/plugins/base64togallery.ts index a8140f862..c786f0078 100644 --- a/src/plugins/base64togallery.ts +++ b/src/plugins/base64togallery.ts @@ -23,12 +23,13 @@ export class Base64ToGallery { /** * Converts a base64 string to an image file in the device gallery - * @param data - * @param prefix + * @param {string} data The actual base64 string that you want to save + * @param {sstring} prefix Prefix the file with a string. Default is 'img_'. Optional. + * @returns {Promise} returns a promise that resolves when the image is saved. */ @Cordova() static base64ToGallery(data: string , prefix?: string ): Promise { return; } -} \ No newline at end of file +}