mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-01-19 16:52:53 +08:00
31 lines
524 B
Cheetah
31 lines
524 B
Cheetah
import { Plugin, IonicNativePlugin } from '@ionic-native/core';
|
|
import { Injectable } from '@angular/core';
|
|
|
|
/**
|
|
* @name {{ Plugin_Name }}
|
|
* @description
|
|
*
|
|
* @usage
|
|
* ```
|
|
* import { {{ PluginName }} } from '@ionic-native/{{ plugin-name }}';
|
|
*
|
|
*
|
|
* constructor(private {{ pluginName }}: {{ PluginName }}) { }
|
|
*
|
|
* ...
|
|
*
|
|
*
|
|
* ```
|
|
*/
|
|
@Plugin({
|
|
pluginName: '{{ PluginName }}',
|
|
plugin: '',
|
|
pluginRef: '',
|
|
repo: '',
|
|
platforms: []
|
|
})
|
|
@Injectable()
|
|
export class {{ PluginName }} extends IonicNativePlugin {
|
|
|
|
}
|