mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-01-20 01:22:52 +08:00
30 lines
412 B
Cheetah
30 lines
412 B
Cheetah
import { Plugin } from '@ionic-native/core';
|
|
import { Injectable } from '@angular/core';
|
|
|
|
/**
|
|
* @name Plugin Name
|
|
* @description
|
|
*
|
|
* @usage
|
|
* ```
|
|
* import { $PluginName } from 'ionic-native';
|
|
*
|
|
*
|
|
* constructor(private $pluginName: $PluginName) { }
|
|
*
|
|
* ...
|
|
*
|
|
*
|
|
* ```
|
|
*/
|
|
@Plugin({
|
|
pluginName: '$PluginName',
|
|
plugin: '',
|
|
pluginRef: '',
|
|
repo: ''
|
|
})
|
|
@Injectable()
|
|
export class $PluginName {
|
|
|
|
}
|