@ionic-native/keyboard
Advanced tools
Comparing version 4.3.3 to 4.4.0
@@ -0,0 +0,0 @@ import { IonicNativePlugin } from '@ionic-native/core'; |
207
index.js
@@ -49,96 +49,157 @@ var __extends = (this && this.__extends) || (function () { | ||
*/ | ||
Keyboard.prototype.hideKeyboardAccessoryBar = function (hide) { }; | ||
/** | ||
* Hide the keyboard accessory bar with the next, previous and done buttons. | ||
* @param hide {boolean} | ||
*/ | ||
Keyboard.prototype.hideKeyboardAccessoryBar = /** | ||
* Hide the keyboard accessory bar with the next, previous and done buttons. | ||
* @param hide {boolean} | ||
*/ | ||
function (hide) { }; | ||
/** | ||
* Force keyboard to be shown. | ||
*/ | ||
Keyboard.prototype.show = function () { }; | ||
/** | ||
* Force keyboard to be shown. | ||
*/ | ||
Keyboard.prototype.show = /** | ||
* Force keyboard to be shown. | ||
*/ | ||
function () { }; | ||
/** | ||
* Close the keyboard if open. | ||
*/ | ||
Keyboard.prototype.close = function () { }; | ||
/** | ||
* Close the keyboard if open. | ||
*/ | ||
Keyboard.prototype.close = /** | ||
* Close the keyboard if open. | ||
*/ | ||
function () { }; | ||
/** | ||
* Prevents the native UIScrollView from moving when an input is focused. | ||
* @param disable {boolean} | ||
*/ | ||
Keyboard.prototype.disableScroll = function (disable) { }; | ||
/** | ||
* Prevents the native UIScrollView from moving when an input is focused. | ||
* @param disable {boolean} | ||
*/ | ||
Keyboard.prototype.disableScroll = /** | ||
* Prevents the native UIScrollView from moving when an input is focused. | ||
* @param disable {boolean} | ||
*/ | ||
function (disable) { }; | ||
/** | ||
* Creates an observable that notifies you when the keyboard is shown. Unsubscribe to observable to cancel event watch. | ||
* @returns {Observable<any>} | ||
*/ | ||
Keyboard.prototype.onKeyboardShow = function () { return; }; | ||
/** | ||
* Creates an observable that notifies you when the keyboard is shown. Unsubscribe to observable to cancel event watch. | ||
* @returns {Observable<any>} | ||
*/ | ||
Keyboard.prototype.onKeyboardShow = /** | ||
* Creates an observable that notifies you when the keyboard is shown. Unsubscribe to observable to cancel event watch. | ||
* @returns {Observable<any>} | ||
*/ | ||
function () { return; }; | ||
/** | ||
* Creates an observable that notifies you when the keyboard is hidden. Unsubscribe to observable to cancel event watch. | ||
* @returns {Observable<any>} | ||
*/ | ||
Keyboard.prototype.onKeyboardHide = function () { return; }; | ||
/** | ||
* Creates an observable that notifies you when the keyboard is hidden. Unsubscribe to observable to cancel event watch. | ||
* @returns {Observable<any>} | ||
*/ | ||
Keyboard.prototype.onKeyboardHide = /** | ||
* Creates an observable that notifies you when the keyboard is hidden. Unsubscribe to observable to cancel event watch. | ||
* @returns {Observable<any>} | ||
*/ | ||
function () { return; }; | ||
Keyboard.decorators = [ | ||
{ type: Injectable }, | ||
]; | ||
/** @nocollapse */ | ||
Keyboard.ctorParameters = function () { return []; }; | ||
__decorate([ | ||
Cordova({ sync: true }), | ||
__metadata("design:type", Function), | ||
__metadata("design:paramtypes", [Boolean]), | ||
__metadata("design:returntype", void 0) | ||
], Keyboard.prototype, "hideKeyboardAccessoryBar", null); | ||
__decorate([ | ||
Cordova({ | ||
sync: true, | ||
platforms: ['Android', 'BlackBerry 10', 'Windows'] | ||
}), | ||
__metadata("design:type", Function), | ||
__metadata("design:paramtypes", []), | ||
__metadata("design:returntype", void 0) | ||
], Keyboard.prototype, "show", null); | ||
__decorate([ | ||
Cordova({ | ||
sync: true, | ||
platforms: ['iOS', 'Android', 'BlackBerry 10', 'Windows'] | ||
}), | ||
__metadata("design:type", Function), | ||
__metadata("design:paramtypes", []), | ||
__metadata("design:returntype", void 0) | ||
], Keyboard.prototype, "close", null); | ||
__decorate([ | ||
Cordova({ | ||
sync: true, | ||
platforms: ['iOS', 'Windows'] | ||
}), | ||
__metadata("design:type", Function), | ||
__metadata("design:paramtypes", [Boolean]), | ||
__metadata("design:returntype", void 0) | ||
], Keyboard.prototype, "disableScroll", null); | ||
__decorate([ | ||
Cordova({ | ||
eventObservable: true, | ||
event: 'native.keyboardshow', | ||
platforms: ['iOS', 'Android', 'BlackBerry 10', 'Windows'] | ||
}), | ||
__metadata("design:type", Function), | ||
__metadata("design:paramtypes", []), | ||
__metadata("design:returntype", Observable) | ||
], Keyboard.prototype, "onKeyboardShow", null); | ||
__decorate([ | ||
Cordova({ | ||
eventObservable: true, | ||
event: 'native.keyboardhide', | ||
platforms: ['iOS', 'Android', 'BlackBerry 10', 'Windows'] | ||
}), | ||
__metadata("design:type", Function), | ||
__metadata("design:paramtypes", []), | ||
__metadata("design:returntype", Observable) | ||
], Keyboard.prototype, "onKeyboardHide", null); | ||
/** | ||
* @name Keyboard | ||
* @description | ||
* @usage | ||
* ```typescript | ||
* import { Keyboard } from '@ionic-native/keyboard'; | ||
* | ||
* constructor(private keyboard: Keyboard) { } | ||
* | ||
* ... | ||
* | ||
* this.keyboard.show(); | ||
* | ||
* this.keyboard.close(); | ||
* | ||
* ``` | ||
*/ | ||
Keyboard = __decorate([ | ||
Plugin({ | ||
pluginName: 'Keyboard', | ||
plugin: 'ionic-plugin-keyboard', | ||
pluginRef: 'cordova.plugins.Keyboard', | ||
repo: 'https://github.com/ionic-team/ionic-plugin-keyboard', | ||
platforms: ['Android', 'BlackBerry 10', 'iOS', 'Windows'] | ||
}) | ||
], Keyboard); | ||
return Keyboard; | ||
}(IonicNativePlugin)); | ||
Keyboard.decorators = [ | ||
{ type: Injectable }, | ||
]; | ||
/** @nocollapse */ | ||
Keyboard.ctorParameters = function () { return []; }; | ||
__decorate([ | ||
Cordova({ sync: true }), | ||
__metadata("design:type", Function), | ||
__metadata("design:paramtypes", [Boolean]), | ||
__metadata("design:returntype", void 0) | ||
], Keyboard.prototype, "hideKeyboardAccessoryBar", null); | ||
__decorate([ | ||
Cordova({ | ||
sync: true, | ||
platforms: ['Android', 'BlackBerry 10', 'Windows'] | ||
}), | ||
__metadata("design:type", Function), | ||
__metadata("design:paramtypes", []), | ||
__metadata("design:returntype", void 0) | ||
], Keyboard.prototype, "show", null); | ||
__decorate([ | ||
Cordova({ | ||
sync: true, | ||
platforms: ['iOS', 'Android', 'BlackBerry 10', 'Windows'] | ||
}), | ||
__metadata("design:type", Function), | ||
__metadata("design:paramtypes", []), | ||
__metadata("design:returntype", void 0) | ||
], Keyboard.prototype, "close", null); | ||
__decorate([ | ||
Cordova({ | ||
sync: true, | ||
platforms: ['iOS', 'Windows'] | ||
}), | ||
__metadata("design:type", Function), | ||
__metadata("design:paramtypes", [Boolean]), | ||
__metadata("design:returntype", void 0) | ||
], Keyboard.prototype, "disableScroll", null); | ||
__decorate([ | ||
Cordova({ | ||
eventObservable: true, | ||
event: 'native.keyboardshow', | ||
platforms: ['iOS', 'Android', 'BlackBerry 10', 'Windows'] | ||
}), | ||
__metadata("design:type", Function), | ||
__metadata("design:paramtypes", []), | ||
__metadata("design:returntype", Observable) | ||
], Keyboard.prototype, "onKeyboardShow", null); | ||
__decorate([ | ||
Cordova({ | ||
eventObservable: true, | ||
event: 'native.keyboardhide', | ||
platforms: ['iOS', 'Android', 'BlackBerry 10', 'Windows'] | ||
}), | ||
__metadata("design:type", Function), | ||
__metadata("design:paramtypes", []), | ||
__metadata("design:returntype", Observable) | ||
], Keyboard.prototype, "onKeyboardHide", null); | ||
Keyboard = __decorate([ | ||
Plugin({ | ||
pluginName: 'Keyboard', | ||
plugin: 'ionic-plugin-keyboard', | ||
pluginRef: 'cordova.plugins.Keyboard', | ||
repo: 'https://github.com/ionic-team/ionic-plugin-keyboard', | ||
platforms: ['Android', 'BlackBerry 10', 'iOS', 'Windows'] | ||
}) | ||
], Keyboard); | ||
export { Keyboard }; | ||
//# sourceMappingURL=index.js.map |
@@ -1,1 +0,1 @@ | ||
[{"__symbolic":"module","version":3,"metadata":{"Keyboard":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"@ionic-native/core","name":"IonicNativePlugin"},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"Plugin"},"arguments":[{"pluginName":"Keyboard","plugin":"ionic-plugin-keyboard","pluginRef":"cordova.plugins.Keyboard","repo":"https://github.com/ionic-team/ionic-plugin-keyboard","platforms":["Android","BlackBerry 10","iOS","Windows"]}]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable"}}],"members":{"hideKeyboardAccessoryBar":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"Cordova"},"arguments":[{"sync":true}]}]}],"show":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"Cordova"},"arguments":[{"sync":true,"platforms":["Android","BlackBerry 10","Windows"]}]}]}],"close":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"Cordova"},"arguments":[{"sync":true,"platforms":["iOS","Android","BlackBerry 10","Windows"]}]}]}],"disableScroll":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"Cordova"},"arguments":[{"sync":true,"platforms":["iOS","Windows"]}]}]}],"onKeyboardShow":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"Cordova"},"arguments":[{"eventObservable":true,"event":"native.keyboardshow","platforms":["iOS","Android","BlackBerry 10","Windows"]}]}]}],"onKeyboardHide":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"Cordova"},"arguments":[{"eventObservable":true,"event":"native.keyboardhide","platforms":["iOS","Android","BlackBerry 10","Windows"]}]}]}]}}}},{"__symbolic":"module","version":1,"metadata":{"Keyboard":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"@ionic-native/core","name":"IonicNativePlugin"},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"Plugin"},"arguments":[{"pluginName":"Keyboard","plugin":"ionic-plugin-keyboard","pluginRef":"cordova.plugins.Keyboard","repo":"https://github.com/ionic-team/ionic-plugin-keyboard","platforms":["Android","BlackBerry 10","iOS","Windows"]}]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable"}}],"members":{"hideKeyboardAccessoryBar":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"Cordova"},"arguments":[{"sync":true}]}]}],"show":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"Cordova"},"arguments":[{"sync":true,"platforms":["Android","BlackBerry 10","Windows"]}]}]}],"close":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"Cordova"},"arguments":[{"sync":true,"platforms":["iOS","Android","BlackBerry 10","Windows"]}]}]}],"disableScroll":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"Cordova"},"arguments":[{"sync":true,"platforms":["iOS","Windows"]}]}]}],"onKeyboardShow":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"Cordova"},"arguments":[{"eventObservable":true,"event":"native.keyboardshow","platforms":["iOS","Android","BlackBerry 10","Windows"]}]}]}],"onKeyboardHide":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"Cordova"},"arguments":[{"eventObservable":true,"event":"native.keyboardhide","platforms":["iOS","Android","BlackBerry 10","Windows"]}]}]}]}}}}] | ||
[{"__symbolic":"module","version":4,"metadata":{"Keyboard":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"@ionic-native/core","name":"IonicNativePlugin"},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"Plugin"},"arguments":[{"pluginName":"Keyboard","plugin":"ionic-plugin-keyboard","pluginRef":"cordova.plugins.Keyboard","repo":"https://github.com/ionic-team/ionic-plugin-keyboard","platforms":["Android","BlackBerry 10","iOS","Windows"]}]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable"}}],"members":{"hideKeyboardAccessoryBar":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"Cordova"},"arguments":[{"sync":true}]}]}],"show":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"Cordova"},"arguments":[{"sync":true,"platforms":["Android","BlackBerry 10","Windows"]}]}]}],"close":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"Cordova"},"arguments":[{"sync":true,"platforms":["iOS","Android","BlackBerry 10","Windows"]}]}]}],"disableScroll":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"Cordova"},"arguments":[{"sync":true,"platforms":["iOS","Windows"]}]}]}],"onKeyboardShow":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"Cordova"},"arguments":[{"eventObservable":true,"event":"native.keyboardshow","platforms":["iOS","Android","BlackBerry 10","Windows"]}]}]}],"onKeyboardHide":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"Cordova"},"arguments":[{"eventObservable":true,"event":"native.keyboardhide","platforms":["iOS","Android","BlackBerry 10","Windows"]}]}]}]}}}}] |
{ | ||
"name": "@ionic-native/keyboard", | ||
"version": "4.3.3", | ||
"version": "4.4.0", | ||
"description": "Ionic Native - Native plugins for ionic apps", | ||
@@ -5,0 +5,0 @@ "module": "index.js", |
@@ -0,0 +0,0 @@ <a style="float:right;font-size:12px;" href="http://github.com/ionic-team/ionic-native/edit/master/src/@ionic-native/plugins/keyboard/index.ts#L2"> |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
17975
8
252