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

@ionic-native/keyboard

Package Overview
Dependencies
Maintainers
6
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 4.15.0 to 4.16.0

8

index.d.ts

@@ -26,2 +26,7 @@ import { IonicNativePlugin } from '@ionic-native/core';

/**
* Check keyboard status visible or not.
* @returns {boolean}
*/
isVisible: boolean;
/**
* Hide the keyboard accessory bar with the next, previous and done buttons.

@@ -41,4 +46,5 @@ * @param hide {boolean}

* Programmatically set the resize mode
* @param mode {string}
*/
setResizeMode(): void;
setResizeMode(mode: string): void;
/**

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

13

index.js

@@ -21,3 +21,3 @@ var __extends = (this && this.__extends) || (function () {

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

@@ -85,10 +85,13 @@ /**

* Programmatically set the resize mode
* @param mode {string}
*/
/**
* Programmatically set the resize mode
* @param mode {string}
*/
Keyboard.prototype.setResizeMode = /**
* Programmatically set the resize mode
* @param mode {string}
*/
function () { };
function (mode) { };
/**

@@ -158,2 +161,6 @@ * Creates an observable that notifies you when the keyboard is shown. Unsubscribe to observable to cancel event watch.

__decorate([
CordovaProperty,
__metadata("design:type", Boolean)
], Keyboard.prototype, "isVisible", void 0);
__decorate([
Cordova({ sync: true }),

@@ -188,3 +195,3 @@ __metadata("design:type", Function),

__metadata("design:type", Function),
__metadata("design:paramtypes", []),
__metadata("design:paramtypes", [String]),
__metadata("design:returntype", void 0)

@@ -191,0 +198,0 @@ ], Keyboard.prototype, "setResizeMode", null);

@@ -1,1 +0,1 @@

[{"__symbolic":"module","version":4,"metadata":{"Keyboard":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"@ionic-native/core","name":"IonicNativePlugin","line":33,"character":30},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"Plugin","line":25,"character":1},"arguments":[{"pluginName":"Keyboard","plugin":"cordova-plugin-ionic-keyboard","pluginRef":"window.Keyboard","repo":"https://github.com/ionic-team/cordova-plugin-ionic-keyboard","platforms":["Android","iOS"]}]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":32,"character":1}}],"members":{"hideFormAccessoryBar":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"Cordova","line":38,"character":3},"arguments":[{"sync":true}]}]}],"hide":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"Cordova","line":44,"character":3},"arguments":[{"sync":true,"platforms":["iOS","Android"]}]}]}],"show":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"Cordova","line":53,"character":3},"arguments":[{"sync":true,"platforms":["Android"]}]}]}],"setResizeMode":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"Cordova","line":62,"character":3},"arguments":[{"sync":true,"platforms":["iOS"]}]}]}],"onKeyboardShow":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"Cordova","line":72,"character":3},"arguments":[{"eventObservable":true,"event":"native.keyboardshow","platforms":["iOS","Android"]}]}]}],"onKeyboardWillShow":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"Cordova","line":85,"character":3},"arguments":[{"eventObservable":true,"event":"keyboardWillShow","platforms":["iOS","Android"]}]}]}],"onKeyboardHide":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"Cordova","line":98,"character":3},"arguments":[{"eventObservable":true,"event":"native.keyboardhide","platforms":["iOS","Android"]}]}]}],"onKeyboardWillHide":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"Cordova","line":111,"character":3},"arguments":[{"eventObservable":true,"event":"keyboardWillHide","platforms":["iOS","Android"]}]}]}]}}}}]
[{"__symbolic":"module","version":4,"metadata":{"Keyboard":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"@ionic-native/core","name":"IonicNativePlugin","line":33,"character":30},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"Plugin","line":25,"character":1},"arguments":[{"pluginName":"Keyboard","plugin":"cordova-plugin-ionic-keyboard","pluginRef":"window.Keyboard","repo":"https://github.com/ionic-team/cordova-plugin-ionic-keyboard","platforms":["Android","iOS"]}]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":32,"character":1}}],"members":{"isVisible":[{"__symbolic":"property","decorators":[{"__symbolic":"reference","module":"@ionic-native/core","name":"CordovaProperty","line":39,"character":3}]}],"hideFormAccessoryBar":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"Cordova","line":46,"character":3},"arguments":[{"sync":true}]}]}],"hide":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"Cordova","line":52,"character":3},"arguments":[{"sync":true,"platforms":["iOS","Android"]}]}]}],"show":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"Cordova","line":61,"character":3},"arguments":[{"sync":true,"platforms":["Android"]}]}]}],"setResizeMode":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"Cordova","line":71,"character":3},"arguments":[{"sync":true,"platforms":["iOS"]}]}]}],"onKeyboardShow":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"Cordova","line":81,"character":3},"arguments":[{"eventObservable":true,"event":"native.keyboardshow","platforms":["iOS","Android"]}]}]}],"onKeyboardWillShow":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"Cordova","line":94,"character":3},"arguments":[{"eventObservable":true,"event":"keyboardWillShow","platforms":["iOS","Android"]}]}]}],"onKeyboardHide":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"Cordova","line":107,"character":3},"arguments":[{"eventObservable":true,"event":"native.keyboardhide","platforms":["iOS","Android"]}]}]}],"onKeyboardWillHide":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"Cordova","line":120,"character":3},"arguments":[{"eventObservable":true,"event":"keyboardWillHide","platforms":["iOS","Android"]}]}]}]}}}}]

@@ -1,1 +0,1 @@

{"moduleName":null,"summaries":[{"symbol":{"__symbol":0,"members":[]},"metadata":{"__symbolic":"class","extends":{"__symbolic":"resolved","symbol":{"__symbol":1,"members":[]},"line":33,"character":30,"fileName":"src/@ionic-native/plugins/keyboard/index.ts"},"members":{"hideFormAccessoryBar":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"resolved","symbol":{"__symbol":2,"members":[]},"line":38,"character":3,"fileName":"src/@ionic-native/plugins/keyboard/index.ts"},"arguments":[{"sync":true}]}]}],"hide":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"resolved","symbol":{"__symbol":2,"members":[]},"line":44,"character":3,"fileName":"src/@ionic-native/plugins/keyboard/index.ts"},"arguments":[{"sync":true,"platforms":["iOS","Android"]}]}]}],"show":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"resolved","symbol":{"__symbol":2,"members":[]},"line":53,"character":3,"fileName":"src/@ionic-native/plugins/keyboard/index.ts"},"arguments":[{"sync":true,"platforms":["Android"]}]}]}],"setResizeMode":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"resolved","symbol":{"__symbol":2,"members":[]},"line":62,"character":3,"fileName":"src/@ionic-native/plugins/keyboard/index.ts"},"arguments":[{"sync":true,"platforms":["iOS"]}]}]}],"onKeyboardShow":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"resolved","symbol":{"__symbol":2,"members":[]},"line":72,"character":3,"fileName":"src/@ionic-native/plugins/keyboard/index.ts"},"arguments":[{"eventObservable":true,"event":"native.keyboardshow","platforms":["iOS","Android"]}]}]}],"onKeyboardWillShow":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"resolved","symbol":{"__symbol":2,"members":[]},"line":85,"character":3,"fileName":"src/@ionic-native/plugins/keyboard/index.ts"},"arguments":[{"eventObservable":true,"event":"keyboardWillShow","platforms":["iOS","Android"]}]}]}],"onKeyboardHide":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"resolved","symbol":{"__symbol":2,"members":[]},"line":98,"character":3,"fileName":"src/@ionic-native/plugins/keyboard/index.ts"},"arguments":[{"eventObservable":true,"event":"native.keyboardhide","platforms":["iOS","Android"]}]}]}],"onKeyboardWillHide":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"resolved","symbol":{"__symbol":2,"members":[]},"line":111,"character":3,"fileName":"src/@ionic-native/plugins/keyboard/index.ts"},"arguments":[{"eventObservable":true,"event":"keyboardWillHide","platforms":["iOS","Android"]}]}]}]}},"type":{"summaryKind":3,"type":{"reference":{"__symbol":0,"members":[]},"diDeps":[],"lifecycleHooks":[]}}}],"symbols":[{"__symbol":0,"name":"Keyboard","filePath":"./index"},{"__symbol":1,"name":"IonicNativePlugin","filePath":"../../../../dist/@ionic-native/core/index"},{"__symbol":2,"name":"Cordova","filePath":"../../../../dist/@ionic-native/core/index"}]}
{"moduleName":null,"summaries":[{"symbol":{"__symbol":0,"members":[]},"metadata":{"__symbolic":"class","extends":{"__symbolic":"resolved","symbol":{"__symbol":1,"members":[]},"line":33,"character":30,"fileName":"src/@ionic-native/plugins/keyboard/index.ts"},"members":{"isVisible":[{"__symbolic":"property","decorators":[{"__symbolic":"resolved","symbol":{"__symbol":2,"members":[]},"line":39,"character":3,"fileName":"src/@ionic-native/plugins/keyboard/index.ts"}]}],"hideFormAccessoryBar":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"resolved","symbol":{"__symbol":3,"members":[]},"line":46,"character":3,"fileName":"src/@ionic-native/plugins/keyboard/index.ts"},"arguments":[{"sync":true}]}]}],"hide":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"resolved","symbol":{"__symbol":3,"members":[]},"line":52,"character":3,"fileName":"src/@ionic-native/plugins/keyboard/index.ts"},"arguments":[{"sync":true,"platforms":["iOS","Android"]}]}]}],"show":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"resolved","symbol":{"__symbol":3,"members":[]},"line":61,"character":3,"fileName":"src/@ionic-native/plugins/keyboard/index.ts"},"arguments":[{"sync":true,"platforms":["Android"]}]}]}],"setResizeMode":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"resolved","symbol":{"__symbol":3,"members":[]},"line":71,"character":3,"fileName":"src/@ionic-native/plugins/keyboard/index.ts"},"arguments":[{"sync":true,"platforms":["iOS"]}]}]}],"onKeyboardShow":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"resolved","symbol":{"__symbol":3,"members":[]},"line":81,"character":3,"fileName":"src/@ionic-native/plugins/keyboard/index.ts"},"arguments":[{"eventObservable":true,"event":"native.keyboardshow","platforms":["iOS","Android"]}]}]}],"onKeyboardWillShow":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"resolved","symbol":{"__symbol":3,"members":[]},"line":94,"character":3,"fileName":"src/@ionic-native/plugins/keyboard/index.ts"},"arguments":[{"eventObservable":true,"event":"keyboardWillShow","platforms":["iOS","Android"]}]}]}],"onKeyboardHide":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"resolved","symbol":{"__symbol":3,"members":[]},"line":107,"character":3,"fileName":"src/@ionic-native/plugins/keyboard/index.ts"},"arguments":[{"eventObservable":true,"event":"native.keyboardhide","platforms":["iOS","Android"]}]}]}],"onKeyboardWillHide":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"resolved","symbol":{"__symbol":3,"members":[]},"line":120,"character":3,"fileName":"src/@ionic-native/plugins/keyboard/index.ts"},"arguments":[{"eventObservable":true,"event":"keyboardWillHide","platforms":["iOS","Android"]}]}]}]}},"type":{"summaryKind":3,"type":{"reference":{"__symbol":0,"members":[]},"diDeps":[],"lifecycleHooks":[]}}}],"symbols":[{"__symbol":0,"name":"Keyboard","filePath":"./index"},{"__symbol":1,"name":"IonicNativePlugin","filePath":"../../../../dist/@ionic-native/core/index"},{"__symbol":2,"name":"CordovaProperty","filePath":"../../../../dist/@ionic-native/core/index"},{"__symbol":3,"name":"Cordova","filePath":"../../../../dist/@ionic-native/core/index"}]}

@@ -1,1 +0,1 @@

{"name":"@ionic-native/keyboard","version":"4.15.0","description":"Ionic Native - Native plugins for ionic apps","module":"index.js","typings":"index.d.ts","author":"ionic","license":"MIT","peerDependencies":{"@ionic-native/core":"^4.11.0","@angular/core":"*","rxjs":"^5.5.11"},"repository":{"type":"git","url":"https://github.com/ionic-team/ionic-native.git"}}
{"name":"@ionic-native/keyboard","version":"4.16.0","description":"Ionic Native - Native plugins for ionic apps","module":"index.js","typings":"index.d.ts","author":"ionic","license":"MIT","peerDependencies":{"@ionic-native/core":"^4.11.0","@angular/core":"*","rxjs":"^5.5.11"},"repository":{"type":"git","url":"https://github.com/ionic-team/ionic-native.git"}}

Sorry, the diff of this file is not supported yet

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