docs(camera-preview): fix typos

This commit is contained in:
Daniel 2018-04-08 19:32:19 +02:00
parent 0af33923a8
commit 7520a96cc6

View File

@ -40,7 +40,7 @@ export interface CameraPreviewOptions {
/** Tap to set specific focus point. Note, this assumes the camera is full-screen. default false */ /** Tap to set specific focus point. Note, this assumes the camera is full-screen. default false */
tapToFocus?: boolean; tapToFocus?: boolean;
/** On Android disable automatic rotation of the image and stripping of Exif header. default false */ /** On Android disable automatic rotation of the image and stripping of Exit header. default false */
disableExifHeaderStripping?: boolean; disableExifHeaderStripping?: boolean;
} }
@ -234,7 +234,7 @@ export class CameraPreview extends IonicNativePlugin {
/** /**
* Take the picture (base64) * Take the picture (base64)
* @param [options] {CameraPreviewPictureOptions} size and quality of the picture to take * @param {CameraPreviewPictureOptions} [options] size and quality of the picture to take
* @return {Promise<any>} * @return {Promise<any>}
*/ */
@Cordova({ @Cordova({
@ -293,7 +293,7 @@ export class CameraPreview extends IonicNativePlugin {
/** /**
* Set the preview Size * Set the preview Size
* @param [dimensions] {CameraPreviewDimensions} * @param {CameraPreviewDimensions} [dimensions]
* @return {Promise<any>} * @return {Promise<any>}
*/ */
@Cordova({ @Cordova({
@ -315,7 +315,7 @@ export class CameraPreview extends IonicNativePlugin {
/** /**
* Set the focus mode * Set the focus mode
* @param [focusMode] {string} 'fixed', 'auto', 'continuous-picture', 'continuous-video' (iOS & Android), 'edof', 'infinity', 'macro' (Android Only) * @param {string} [focusMode] 'fixed', 'auto', 'continuous-picture', 'continuous-video' (iOS & Android), 'edof', 'infinity', 'macro' (Android Only)
* @return {Promise<any>} * @return {Promise<any>}
*/ */
@Cordova({ @Cordova({
@ -346,7 +346,7 @@ export class CameraPreview extends IonicNativePlugin {
/** /**
* Set the flash mode * Set the flash mode
* @param [flashMode] {string} 'off' (iOS & Android), 'on' (iOS & Android), 'auto' (iOS & Android), 'torch' (Android) * @param {string} [flashMode] 'off' (iOS & Android), 'on' (iOS & Android), 'auto' (iOS & Android), 'torch' (Android)
* @return {Promise<any>} * @return {Promise<any>}
*/ */
@Cordova({ @Cordova({
@ -395,7 +395,7 @@ export class CameraPreview extends IonicNativePlugin {
/** /**
* Set exposure mode * Set exposure mode
* @param [lock] {string} * @param {string} [lock]
* @return {Promise<any>} * @return {Promise<any>}
*/ */
@Cordova({ @Cordova({
@ -417,7 +417,7 @@ export class CameraPreview extends IonicNativePlugin {
/** /**
* Set exposure compensation (Android) * Set exposure compensation (Android)
* @param [exposureCompensation] {number} * @param {number} [exposureCompensation]
* @return {Promise<any>} * @return {Promise<any>}
*/ */
@Cordova({ @Cordova({
@ -439,8 +439,8 @@ export class CameraPreview extends IonicNativePlugin {
/** /**
* Set specific focus point. Note, this assumes the camera is full-screen. * Set specific focus point. Note, this assumes the camera is full-screen.
* @param xPoint {number} * @param {number} xPoint
* @param yPoint {number} * @param {number} yPoint
* @return {Promise<any>} * @return {Promise<any>}
*/ */
@Cordova() @Cordova()