mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2026-04-13 00:00:10 +08:00
docs(plugins): add import statements for usage clarity
This commit is contained in:
@@ -68,6 +68,14 @@ import {Plugin, Cordova} from './plugin';
|
||||
*
|
||||
* For tracking events, see `logEvent` and `logPurchase`.
|
||||
*
|
||||
* @usage
|
||||
* ```js
|
||||
* import {Facebook} from 'ionic-native';
|
||||
*
|
||||
*
|
||||
*
|
||||
* ```
|
||||
*
|
||||
*/
|
||||
@Plugin({
|
||||
plugin: 'cordova-plugin-facebook4',
|
||||
|
||||
Reference in New Issue
Block a user