Cordova-keyboard is a lightweight package allowing to check the keyboard status (visible or hidden) reactively in a Meteor application.
Add the package in your Meteor application with this command:
meteor add 255kb:cordova-keyboard
You can either check the keyboard status by using the Session variable isKeyboardVisible
or the global template isKeyboardVisible
:
Session.get('isKeyboardVisible');
Or
{{#if isKeyboardVisible}}
{{/if}}
{{#unless isKeyboardVisible}}
{{/unless}}
- com.ionic.keyboard@1.0.7
- switch to new Cordova plugins repository for dependency
- default value to current keyboard state instead of false
- remove unneeded global helper