mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-01-19 08:32:52 +08:00
fix(keyboard) isVisible property missing (#2751)
* isVisible property missing * fix(lint) * fix(lint) CI * fix(CordovaProperty) Imported CordovaProperty from core
This commit is contained in:
parent
487acd603b
commit
a167bd85aa
@ -1,5 +1,5 @@
|
||||
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';
|
||||
|
||||
/**
|
||||
@ -32,6 +32,14 @@ import { Observable } from 'rxjs/Observable';
|
||||
})
|
||||
@Injectable()
|
||||
export class Keyboard extends IonicNativePlugin {
|
||||
|
||||
/**
|
||||
* Check keyboard status visible or not.
|
||||
* @returns {boolean}
|
||||
*/
|
||||
@CordovaProperty
|
||||
isVisible: boolean;
|
||||
|
||||
/**
|
||||
* Hide the keyboard accessory bar with the next, previous and done buttons.
|
||||
* @param hide {boolean}
|
||||
|
Loading…
Reference in New Issue
Block a user