From 27e844cbc2f8ca59bfcc99bfd112342b320e622c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patrick=20Bu=C3=9Fmann?= Date: Mon, 9 Dec 2019 06:46:36 +0100 Subject: [PATCH] docs(image-picker): updated configuration (#3245) --- .../plugins/image-picker/index.ts | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/src/@ionic-native/plugins/image-picker/index.ts b/src/@ionic-native/plugins/image-picker/index.ts index 1b81dcb6f..15fe66146 100644 --- a/src/@ionic-native/plugins/image-picker/index.ts +++ b/src/@ionic-native/plugins/image-picker/index.ts @@ -12,6 +12,7 @@ export interface ImagePickerOptions { * Max width to allow images to be */ width?: number; + /** * Max height to allow images to be */ @@ -22,6 +23,21 @@ export interface ImagePickerOptions { */ quality?: number; + /** + * Videos allowed? + */ + allow_video?: boolean; + + /** + * the default is the message of the old plugin impl + */ + title?: string; + + /** + * the old plugin impl didn't have it, so passing null by default + */ + message?: string; + /** * Choose the format of the return value. * Defined in ImagePicker.OutputType. Default is FILE_URI. @@ -29,6 +45,11 @@ export interface ImagePickerOptions { * DATA_URL : 1, Return image as base64-encoded string */ outputType?: number; + + /** + * Disable the iOS popover as seen on iPad + */ + disable_popover?: boolean; } export enum OutputType {