From 2128703d8dfd1510ef208ab90e2b6badc2c9db03 Mon Sep 17 00:00:00 2001 From: Jan Piotrowski Date: Wed, 14 Jun 2017 07:40:51 +0200 Subject: [PATCH] docs(screenshot): fix param names (#1686) --- src/@ionic-native/plugins/screenshot/index.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/@ionic-native/plugins/screenshot/index.ts b/src/@ionic-native/plugins/screenshot/index.ts index c8674c5e0..cd0107492 100644 --- a/src/@ionic-native/plugins/screenshot/index.ts +++ b/src/@ionic-native/plugins/screenshot/index.ts @@ -34,11 +34,11 @@ export class Screenshot extends IonicNativePlugin { /** * Takes screenshot and saves the image * - * @param {string} format. Format can take the value of either 'jpg' or 'png' + * @param format {string} Format can take the value of either 'jpg' or 'png' * On ios, only 'jpg' format is supported - * @param {number} quality. Determines the quality of the screenshot. + * @param quality {number} Determines the quality of the screenshot. * Default quality is set to 100. - * @param {string} filename. Name of the file as stored on the storage + * @param filename {string} Name of the file as stored on the storage * @returns {Promise} */ save(format?: string, quality?: number, filename?: string): Promise { @@ -63,7 +63,7 @@ export class Screenshot extends IonicNativePlugin { /** * Takes screenshot and returns the image as an URI * - * @param {number} quality. Determines the quality of the screenshot. + * @param quality {number} Determines the quality of the screenshot. * Default quality is set to 100. * @returns {Promise} */