mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2026-04-13 00:00:10 +08:00
Merge in v5 code
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import { Injectable } from '@angular/core';
|
||||
import { Cordova, Plugin, IonicNativePlugin } from '@ionic-native/core';
|
||||
import { Cordova, IonicNativePlugin, Plugin } from '@ionic-native/core';
|
||||
|
||||
|
||||
/**
|
||||
@@ -32,7 +32,7 @@ export class NavigationBar extends IonicNativePlugin {
|
||||
|
||||
/**
|
||||
* hide automatically (or not) the navigation bar.
|
||||
* @param autohide {boolean}
|
||||
* @param autohide {boolean}
|
||||
* @return {Promise<any>}
|
||||
*/
|
||||
@Cordova({
|
||||
@@ -40,10 +40,12 @@ export class NavigationBar extends IonicNativePlugin {
|
||||
successName: 'success',
|
||||
errorName: 'failure'
|
||||
})
|
||||
setUp(autohide?: boolean): Promise<any> { return; }
|
||||
setUp(autohide?: boolean): Promise<any> {
|
||||
return;
|
||||
}
|
||||
|
||||
/**
|
||||
* Hide the navigation bar.
|
||||
* Hide the navigation bar.
|
||||
* @return {Promise<any>}
|
||||
*/
|
||||
@Cordova({
|
||||
@@ -51,6 +53,8 @@ export class NavigationBar extends IonicNativePlugin {
|
||||
successName: 'success',
|
||||
errorName: 'failure'
|
||||
})
|
||||
hideNavigationBar(): Promise<any> { return; }
|
||||
hideNavigationBar(): Promise<any> {
|
||||
return;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user