docs(image-picker): updated configuration (#3245)

This commit is contained in:
Patrick Bußmann 2019-12-09 06:46:36 +01:00 committed by Daniel Sogl
parent b8695220ea
commit 27e844cbc2

View File

@ -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 {