cordova - iOS keyboard events in Adobe PhoneGap Build -


are there keyboard events in adobe phonegap build? or plugin expose them. want attach callback keyboard showing , hiding.

i'm using focus , blur events on inputs, i'd rather listening keyboard itself.

there plugin issue: https://github.com/mhweiner/cordovaioskeyboardplugin

it lets stuff this:

// see if keyboard open or not var is_open = keyboard.isopen();  // height of open keyboard (including inputaccessoryview toolbar) var height = keyboard.getheight();  // following jquery events available: // keyboardwillshow, keyboarddidshow, keyboardwillhide, keyboarddidhide  // set callback $('body').on('keyboardwillshow', mycallback);  // remove callback $('body').off('keyboardwillshow'); 

instructions can found in readme file wihtin git repo.


Comments

Popular posts from this blog

visual studio - vb.net filter binding source by time -

php - SPIP: From Tag directly to an article -

jquery - isAjaxRequest always return false -