Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@ionic-native/keyboard

Package Overview
Dependencies
Maintainers
2
Versions
162
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ionic-native/keyboard - npm Package Compare versions

Comparing version 3.0.0 to 3.1.0-alpha.1

index.metadata.json

14

index.d.ts

@@ -7,3 +7,3 @@ import { Observable } from 'rxjs/Observable';

* ```typescript
* import { Keyboard } from 'ionic-native';
* import { Keyboard } from '@ionic-native/keyboard';
*

@@ -19,11 +19,11 @@ *

*/
static hideKeyboardAccessoryBar(hide: boolean): void;
hideKeyboardAccessoryBar(hide: boolean): void;
/**
* Force keyboard to be shown.
*/
static show(): void;
show(): void;
/**
* Close the keyboard if open.
*/
static close(): void;
close(): void;
/**

@@ -33,3 +33,3 @@ * Prevents the native UIScrollView from moving when an input is focused.

*/
static disableScroll(disable: boolean): void;
disableScroll(disable: boolean): void;
/**

@@ -39,3 +39,3 @@ * Creates an observable that notifies you when the keyboard is shown. Unsubscribe to observable to cancel event watch.

*/
static onKeyboardShow(): Observable<any>;
onKeyboardShow(): Observable<any>;
/**

@@ -45,3 +45,3 @@ * Creates an observable that notifies you when the keyboard is hidden. Unsubscribe to observable to cancel event watch.

*/
static onKeyboardHide(): Observable<any>;
onKeyboardHide(): Observable<any>;
}

@@ -7,2 +7,3 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {

};
import { Injectable } from '@angular/core';
import { Cordova, Plugin } from '@ionic-native/core';

@@ -14,3 +15,3 @@ /**

* ```typescript
* import { Keyboard } from 'ionic-native';
* import { Keyboard } from '@ionic-native/keyboard';
*

@@ -28,11 +29,11 @@ *

*/
Keyboard.hideKeyboardAccessoryBar = function (hide) { };
Keyboard.prototype.hideKeyboardAccessoryBar = function (hide) { };
/**
* Force keyboard to be shown.
*/
Keyboard.show = function () { };
Keyboard.prototype.show = function () { };
/**
* Close the keyboard if open.
*/
Keyboard.close = function () { };
Keyboard.prototype.close = function () { };
/**

@@ -42,3 +43,3 @@ * Prevents the native UIScrollView from moving when an input is focused.

*/
Keyboard.disableScroll = function (disable) { };
Keyboard.prototype.disableScroll = function (disable) { };
/**

@@ -48,3 +49,3 @@ * Creates an observable that notifies you when the keyboard is shown. Unsubscribe to observable to cancel event watch.

*/
Keyboard.onKeyboardShow = function () { return; };
Keyboard.prototype.onKeyboardShow = function () { return; };
/**

@@ -54,6 +55,11 @@ * Creates an observable that notifies you when the keyboard is hidden. Unsubscribe to observable to cancel event watch.

*/
Keyboard.onKeyboardHide = function () { return; };
Keyboard.prototype.onKeyboardHide = function () { return; };
Keyboard.decorators = [
{ type: Injectable },
];
/** @nocollapse */
Keyboard.ctorParameters = function () { return []; };
__decorate([
Cordova({ sync: true })
], Keyboard, "hideKeyboardAccessoryBar", null);
], Keyboard.prototype, "hideKeyboardAccessoryBar", null);
__decorate([

@@ -64,3 +70,3 @@ Cordova({

})
], Keyboard, "show", null);
], Keyboard.prototype, "show", null);
__decorate([

@@ -71,3 +77,3 @@ Cordova({

})
], Keyboard, "close", null);
], Keyboard.prototype, "close", null);
__decorate([

@@ -78,3 +84,3 @@ Cordova({

})
], Keyboard, "disableScroll", null);
], Keyboard.prototype, "disableScroll", null);
__decorate([

@@ -86,3 +92,3 @@ Cordova({

})
], Keyboard, "onKeyboardShow", null);
], Keyboard.prototype, "onKeyboardShow", null);
__decorate([

@@ -94,3 +100,3 @@ Cordova({

})
], Keyboard, "onKeyboardHide", null);
], Keyboard.prototype, "onKeyboardHide", null);
Keyboard = __decorate([

@@ -106,2 +112,1 @@ Plugin({

}());
//# sourceMappingURL=index.js.map
{
"name": "@ionic-native/keyboard",
"version": "3.0.0",
"version": "3.1.0-alpha.1",
"description": "Ionic Native - Native plugins for ionic apps",

@@ -9,6 +9,6 @@ "module": "index.js",

"license": "MIT",
"dependencies": {
"@ionic-native/core": "3.0.0"
},
"peerDependencies": {
"@angular/core": "2.2.1",
"@ionic-native/core": "3.1.0-alpha.1",
"@ionic-native/utils": "3.1.0-alpha.1",
"rxjs": "5.0.0-beta.12"

@@ -19,3 +19,6 @@ },

"url": "https://github.com/driftyco/ionic-native.git"
},
"scripts": {
"postinstall": "node -e \"require('@ionic-native/utils').install(require('./plugin-config.json'))\""
}
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc