mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-02-22 01:19:36 +08:00
docs(camera-preview): mark params as optional
This commit is contained in:
parent
a5ed62e56a
commit
d4a9abfc61
@ -211,7 +211,7 @@ export class CameraPreview {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Set the zoom (Android)
|
* Set the zoom (Android)
|
||||||
* @param zoom {number} Zoom value
|
* @param [zoom] {number} Zoom value
|
||||||
* @return {Promise<any>}
|
* @return {Promise<any>}
|
||||||
*/
|
*/
|
||||||
@Cordova({
|
@Cordova({
|
||||||
@ -223,7 +223,7 @@ export class CameraPreview {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Set the preview Size
|
* Set the preview Size
|
||||||
* @param dimensions {CameraPreviewDimensions}
|
* @param [dimensions] {CameraPreviewDimensions}
|
||||||
* @return {Promise<any>}
|
* @return {Promise<any>}
|
||||||
*/
|
*/
|
||||||
@Cordova({
|
@Cordova({
|
||||||
@ -235,7 +235,7 @@ export class CameraPreview {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Set the flashmode
|
* Set the flashmode
|
||||||
* @param flashMode {string} 'off' (iOS & Android), 'on' (iOS & Android), 'auto' (iOS & Android), 'torch' (Android)
|
* @param [flashMode] {string} 'off' (iOS & Android), 'on' (iOS & Android), 'auto' (iOS & Android), 'torch' (Android)
|
||||||
* @return {Promise<any>}
|
* @return {Promise<any>}
|
||||||
*/
|
*/
|
||||||
@Cordova({
|
@Cordova({
|
||||||
|
Loading…
Reference in New Issue
Block a user