mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2026-05-02 00:07:23 +08:00
Revert "chore(package): bump dependencies and lint rules"
This reverts commit 21ad4734fa.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import { Injectable } from '@angular/core';
|
||||
import { Cordova, IonicNativePlugin, Plugin } from '@ionic-native/core';
|
||||
import { Plugin, Cordova, IonicNativePlugin } from '@ionic-native/core';
|
||||
|
||||
export interface NativeTransitionOptions {
|
||||
direction?: string;
|
||||
@@ -76,9 +76,7 @@ export class NativePageTransitions extends IonicNativePlugin {
|
||||
* @returns {Promise<any>}
|
||||
*/
|
||||
@Cordova()
|
||||
slide(options: NativeTransitionOptions): Promise<any> {
|
||||
return;
|
||||
}
|
||||
slide(options: NativeTransitionOptions): Promise<any> { return; }
|
||||
|
||||
/**
|
||||
* Perform a flip animation
|
||||
@@ -86,9 +84,7 @@ export class NativePageTransitions extends IonicNativePlugin {
|
||||
* @returns {Promise<any>}
|
||||
*/
|
||||
@Cordova()
|
||||
flip(options: NativeTransitionOptions): Promise<any> {
|
||||
return;
|
||||
}
|
||||
flip(options: NativeTransitionOptions): Promise<any> { return; }
|
||||
|
||||
/**
|
||||
* Perform a fade animation
|
||||
@@ -96,9 +92,8 @@ export class NativePageTransitions extends IonicNativePlugin {
|
||||
* @returns {Promise<any>}
|
||||
*/
|
||||
@Cordova({ platforms: ['iOS', 'Android'] })
|
||||
fade(options: NativeTransitionOptions): Promise<any> {
|
||||
return;
|
||||
}
|
||||
fade(options: NativeTransitionOptions): Promise<any> { return; }
|
||||
|
||||
|
||||
/**
|
||||
* Perform a slide animation
|
||||
@@ -106,9 +101,9 @@ export class NativePageTransitions extends IonicNativePlugin {
|
||||
* @returns {Promise<any>}
|
||||
*/
|
||||
@Cordova({ platforms: ['iOS', 'Android'] })
|
||||
drawer(options: NativeTransitionOptions): Promise<any> {
|
||||
return;
|
||||
}
|
||||
drawer(options: NativeTransitionOptions): Promise<any> { return; }
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Perform a slide animation
|
||||
@@ -116,25 +111,20 @@ export class NativePageTransitions extends IonicNativePlugin {
|
||||
* @returns {Promise<any>}
|
||||
*/
|
||||
@Cordova({ platforms: ['iOS'] })
|
||||
curl(options: NativeTransitionOptions): Promise<any> {
|
||||
return;
|
||||
}
|
||||
curl(options: NativeTransitionOptions): Promise<any> { return; }
|
||||
|
||||
/**
|
||||
* Execute pending transition
|
||||
* @returns {Promise<any>}
|
||||
*/
|
||||
@Cordova()
|
||||
executePendingTransition(): Promise<any> {
|
||||
return;
|
||||
}
|
||||
executePendingTransition(): Promise<any> { return; }
|
||||
|
||||
/**
|
||||
* Cancel pending transition
|
||||
* @returns {Promise<any>}
|
||||
*/
|
||||
@Cordova()
|
||||
cancelPendingTransition(): Promise<any> {
|
||||
return;
|
||||
}
|
||||
cancelPendingTransition(): Promise<any> { return; }
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user