docs(plugins): update platforms supported

This commit is contained in:
Ibrahim Hadeed 2016-03-25 18:05:13 -04:00
parent dffdc1a94d
commit c9773ad7a5
4 changed files with 17 additions and 18 deletions

View File

@ -2,7 +2,6 @@ import {Plugin, Cordova} from './plugin'
/**
* @name Base64 To Gallery
* @description This plugin allows you to save base64 data as a png image into the device
* @platforms Android, iOS, Windows Phone
* @usage
* ```ts
* import {Base64ToGallery} from 'ionic-native';
@ -23,7 +22,7 @@ import {Plugin, Cordova} from './plugin'
export class Base64ToGallery {
/**
*
* Converts a base64 string to an image file in the device gallery
* @param data
* @param prefix
*/

View File

@ -3,7 +3,6 @@ import {Observable} from "rxjs/Observable";
/**
* @name DB Meter
* @description This plugin defines a global DBMeter object, which permits to get the decibel values from the microphone.
* @platforms Android, iOS
* @usage
* ```ts
* import {DBMeter} from 'ionic-native';
@ -33,7 +32,8 @@ import {Observable} from "rxjs/Observable";
@Plugin({
plugin: 'cordova-plugin-dbmeter',
pluginRef: 'DBMeter',
repo: 'https://github.com/akofman/cordova-plugin-dbmeter'
repo: 'https://github.com/akofman/cordova-plugin-dbmeter',
platforms: ['iOS','Android']
})
export class DBMeter {

View File

@ -3,7 +3,6 @@ import {Plugin, Cordova} from './plugin'
/**
* @name Hotspot
* @description
* @platforms Android
* @usage
* ```js
* import {Hotspot} from 'ionic-native';
@ -15,7 +14,8 @@ import {Plugin, Cordova} from './plugin'
@Plugin({
plugin: 'cordova-plugin-hotspot',
pluginRef: 'cordova.plugins.hotspot',
repo: 'https://github.com/hypery2k/cordova-hotspot-plugin'
repo: 'https://github.com/hypery2k/cordova-hotspot-plugin',
platforms: ['Android']
})
export class Hotspot {

View File

@ -32,50 +32,50 @@ export class Keyboard {
/**
* Force keyboard to be shown.
* @platforms ['Android','BlackBerry 10','Windows']
*/
@Cordova({
sync: true
sync: true,
platforms: ['Android','BlackBerry 10','Windows']
})
static show() : void {}
/**
* Close the keyboard if open
* @platforms ['iOS','Android','BlackBerry 10','Windows']
*/
@Cordova({
sync: true
sync: true,
platforms: ['iOS','Android','BlackBerry 10','Windows']
})
static close() : void {}
/**
* Prevents the native UIScrollView from moving when an input is focused.
* @platforms ['iOS','Windows']
* @param disable
*/
@Cordova({
sync: true
sync: true,
platforms: ['iOS','Windows']
})
static disableScroll(disable : boolean) : void {}
/**
* Creates an observable that notifies you when the keyboard is shown. Unsubscribe to observable to cancel event watch.
* @platforms ['iOS','Android','BlackBerry 10','Windows']
*/
@Cordova({
eventObservable: true,
event: 'native.keyboardshow'
event: 'native.keyboardshow',
platforms: ['iOS','Android','BlackBerry 10','Windows']
})
static onKeybardShow() : Observable<any> {return}
static onKeyboardShow() : Observable<any> {return}
/**
* Creates an observable that notifies you when the keyboard is hidden. Unsubscribe to observable to cancel event watch.
* @platforms ['iOS','Android','BlackBerry 10','Windows']
*/
@Cordova({
eventObservable: true,
event: 'native.keyboardhide'
event: 'native.keyboardhide',
platforms: ['iOS','Android','BlackBerry 10','Windows']
})
static onKeybardHide() : Observable<any> {return}
static onKeyboardHide() : Observable<any> {return}
}