Skip to content

Commit a167bd8

Browse files
sfaizanhdanielsogl
authored andcommitted
fix(keyboard) isVisible property missing (#2751)
* isVisible property missing * fix(lint) * fix(lint) CI * fix(CordovaProperty) Imported CordovaProperty from core
1 parent 487acd6 commit a167bd8

File tree

1 file changed

+9
-1
lines changed
  • src/@ionic-native/plugins/keyboard

1 file changed

+9
-1
lines changed

src/@ionic-native/plugins/keyboard/index.ts

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { Injectable } from '@angular/core';
2-
import { Cordova, IonicNativePlugin, Plugin } from '@ionic-native/core';
2+
import { Cordova, CordovaProperty, IonicNativePlugin, Plugin } from '@ionic-native/core';
33
import { Observable } from 'rxjs/Observable';
44

55
/**
@@ -32,6 +32,14 @@ import { Observable } from 'rxjs/Observable';
3232
})
3333
@Injectable()
3434
export class Keyboard extends IonicNativePlugin {
35+
36+
/**
37+
* Check keyboard status visible or not.
38+
* @returns {boolean}
39+
*/
40+
@CordovaProperty
41+
isVisible: boolean;
42+
3543
/**
3644
* Hide the keyboard accessory bar with the next, previous and done buttons.
3745
* @param hide {boolean}

0 commit comments

Comments
 (0)