mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2026-05-02 00:07:23 +08:00
docs(plugins): update docs and plugin params
This commit is contained in:
@@ -6,13 +6,18 @@ import {Plugin, Cordova} from './plugin';
|
||||
*
|
||||
* Requires Cordova plugin: `cordova-plugin-flashlight`. For more info, please see the [Flashlight plugin docs](https://github.com/EddyVerbruggen/Flashlight-PhoneGap-Plugin).
|
||||
*
|
||||
* ```shell
|
||||
* cordova plugin add cordova-plugin-flashlight
|
||||
* ```
|
||||
*
|
||||
* @usage
|
||||
* ```js
|
||||
* ```
|
||||
*/
|
||||
@Plugin({
|
||||
plugin: 'https://github.com/EddyVerbruggen/Flashlight-PhoneGap-Plugin.git',
|
||||
pluginRef: 'window.plugins.flashlight'
|
||||
plugin: 'cordova-plugin-flashlight',
|
||||
pluginRef: 'window.plugins.flashlight',
|
||||
repo: 'https://github.com/EddyVerbruggen/Flashlight-PhoneGap-Plugin.git'
|
||||
})
|
||||
export class Flashlight {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user