CB-10996 Adding front matter to README.md

This commit is contained in:
Dmitry Blotsky 2016-04-22 19:35:40 -07:00
parent 0ba547cd3c
commit bfaef0ff25
2 changed files with 26 additions and 12 deletions

View File

@ -1,3 +1,7 @@
---
title: Camera
description: Take pictures with the device camera.
---
<!--- <!---
# license: Licensed to the Apache Software Foundation (ASF) under one # license: Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file # or more contributor license agreements. See the NOTICE file
@ -73,20 +77,20 @@ Documentation consists of template and API docs produced from the plugin JS code
* [camera](#module_camera) * [camera](#module_camera)
* [.getPicture(successCallback, errorCallback, options)](#module_camera.getPicture) * [.getPicture(successCallback, errorCallback, options)](#module_camera.getPicture)
* [.cleanup()](#module_camera.cleanup) * [.cleanup()](#module_camera.cleanup)
* [.onError](#module_camera.onError) : <code>function</code> * [.onError](#module_camera.onError) : <code>function</code>
* [.onSuccess](#module_camera.onSuccess) : <code>function</code> * [.onSuccess](#module_camera.onSuccess) : <code>function</code>
* [.CameraOptions](#module_camera.CameraOptions) : <code>Object</code> * [.CameraOptions](#module_camera.CameraOptions) : <code>Object</code>
* [Camera](#module_Camera) * [Camera](#module_Camera)
* [.DestinationType](#module_Camera.DestinationType) : <code>enum</code> * [.DestinationType](#module_Camera.DestinationType) : <code>enum</code>
* [.EncodingType](#module_Camera.EncodingType) : <code>enum</code> * [.EncodingType](#module_Camera.EncodingType) : <code>enum</code>
* [.MediaType](#module_Camera.MediaType) : <code>enum</code> * [.MediaType](#module_Camera.MediaType) : <code>enum</code>
* [.PictureSourceType](#module_Camera.PictureSourceType) : <code>enum</code> * [.PictureSourceType](#module_Camera.PictureSourceType) : <code>enum</code>
* [.PopoverArrowDirection](#module_Camera.PopoverArrowDirection) : <code>enum</code> * [.PopoverArrowDirection](#module_Camera.PopoverArrowDirection) : <code>enum</code>
* [.Direction](#module_Camera.Direction) : <code>enum</code> * [.Direction](#module_Camera.Direction) : <code>enum</code>
* [CameraPopoverHandle](#module_CameraPopoverHandle) * [CameraPopoverHandle](#module_CameraPopoverHandle)
* [CameraPopoverOptions](#module_CameraPopoverOptions) * [CameraPopoverOptions](#module_CameraPopoverOptions)
@ -314,7 +318,13 @@ Matches iOS UIPopoverArrowDirection constants to specify arrow location on popov
<a name="module_CameraPopoverOptions"></a> <a name="module_CameraPopoverOptions"></a>
## CameraPopoverOptions ## CameraPopoverOptions
iOS-only parameters that specify the anchor element location and arrow direction of the popover when selecting images from an iPad's library or album. Note that the size of the popover may change to adjust to the direction of the arrow and orientation of the screen. Make sure to account for orientation changes when specifying the anchor element location. iOS-only parameters that specify the anchor element location and arrow
direction of the popover when selecting images from an iPad's library
or album.
Note that the size of the popover may change to adjust to the
direction of the arrow and orientation of the screen. Make sure to
account for orientation changes when specifying the anchor element
location.
| Param | Type | Default | Description | | Param | Type | Default | Description |

View File

@ -1,3 +1,7 @@
---
title: Camera
description: Take pictures with the device camera.
---
{{>cdv-license~}} {{>cdv-license~}}
[![Build Status](https://travis-ci.org/apache/cordova-plugin-camera.svg?branch=master)](https://travis-ci.org/apache/cordova-plugin-camera) [![Build Status](https://travis-ci.org/apache/cordova-plugin-camera.svg?branch=master)](https://travis-ci.org/apache/cordova-plugin-camera)