mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-03-17 00:51:07 +08:00
docs(image-picker): updated configuration (#3245)
This commit is contained in:
parent
b8695220ea
commit
27e844cbc2
@ -12,6 +12,7 @@ export interface ImagePickerOptions {
|
|||||||
* Max width to allow images to be
|
* Max width to allow images to be
|
||||||
*/
|
*/
|
||||||
width?: number;
|
width?: number;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Max height to allow images to be
|
* Max height to allow images to be
|
||||||
*/
|
*/
|
||||||
@ -22,6 +23,21 @@ export interface ImagePickerOptions {
|
|||||||
*/
|
*/
|
||||||
quality?: number;
|
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.
|
* Choose the format of the return value.
|
||||||
* Defined in ImagePicker.OutputType. Default is FILE_URI.
|
* Defined in ImagePicker.OutputType. Default is FILE_URI.
|
||||||
@ -29,6 +45,11 @@ export interface ImagePickerOptions {
|
|||||||
* DATA_URL : 1, Return image as base64-encoded string
|
* DATA_URL : 1, Return image as base64-encoded string
|
||||||
*/
|
*/
|
||||||
outputType?: number;
|
outputType?: number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Disable the iOS popover as seen on iPad
|
||||||
|
*/
|
||||||
|
disable_popover?: boolean;
|
||||||
}
|
}
|
||||||
|
|
||||||
export enum OutputType {
|
export enum OutputType {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user