mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2026-04-13 00:00:10 +08:00
style(): unify docs and spacing (#1448)
* typo(barcode-scanner): fixe circle lint error
* typo(docs): Unified the documentations
In some plugins the typescript markup was missing.
I also unified the console.log string from console.log("hello") to console.log('Hello') so any plugin page look the same.
This commit is contained in:
@@ -22,7 +22,7 @@ export interface NativeTransitionOptions {
|
||||
* The Native Page Transitions plugin uses native hardware acceleration to animate your transitions between views. You have complete control over the type of transition, the duration, and direction.
|
||||
*
|
||||
* @usage
|
||||
* ```
|
||||
* ```typescript
|
||||
* import { NativePageTransitions, NativeTransitionOptions } from '@ionic-native/native-page-transitions';
|
||||
*
|
||||
* constructor(private nativePageTransitions: NativePageTransitions) { }
|
||||
@@ -91,7 +91,7 @@ export class NativePageTransitions extends IonicNativePlugin {
|
||||
* @param options {NativeTransitionOptions} Options for the transition
|
||||
* @returns {Promise<any>}
|
||||
*/
|
||||
@Cordova({platforms: ['iOS', 'Android']})
|
||||
@Cordova({ platforms: ['iOS', 'Android'] })
|
||||
fade(options: NativeTransitionOptions): Promise<any> { return; }
|
||||
|
||||
|
||||
@@ -100,7 +100,7 @@ export class NativePageTransitions extends IonicNativePlugin {
|
||||
* @param options {NativeTransitionOptions} Options for the transition
|
||||
* @returns {Promise<any>}
|
||||
*/
|
||||
@Cordova({platforms: ['iOS', 'Android']})
|
||||
@Cordova({ platforms: ['iOS', 'Android'] })
|
||||
drawer(options: NativeTransitionOptions): Promise<any> { return; }
|
||||
|
||||
|
||||
@@ -110,7 +110,7 @@ export class NativePageTransitions extends IonicNativePlugin {
|
||||
* @param options {NativeTransitionOptions} Options for the transition
|
||||
* @returns {Promise<any>}
|
||||
*/
|
||||
@Cordova({platforms: ['iOS']})
|
||||
@Cordova({ platforms: ['iOS'] })
|
||||
curl(options: NativeTransitionOptions): Promise<any> { return; }
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user