mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-01-31 18:49:43 +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 { 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';
|
import { Observable } from 'rxjs/Observable';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -32,6 +32,14 @@ import { Observable } from 'rxjs/Observable';
|
|||||||
})
|
})
|
||||||
@Injectable()
|
@Injectable()
|
||||||
export class Keyboard extends IonicNativePlugin {
|
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.
|
* Hide the keyboard accessory bar with the next, previous and done buttons.
|
||||||
* @param hide {boolean}
|
* @param hide {boolean}
|
||||||
|
Loading…
Reference in New Issue
Block a user