Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 49172

Ionic.keyboard show() and hide() return promise after keyboard really opened resp. closed

$
0
0

@michalfoksa wrote:

I would like to request a feature in ionic.keyboard.show() and ionic.keyboard.hide() methods to return AngularJs promise which is resolved after keyboard is opened or closed.

This way it would be very easy to wait until the keyboard is really opened or closed and code would be quite readable for any Angular developer.

Pseudo code example:

ionic.keyboard.hide().then(function(){
    rearrange view, display elements, call redraw on specific visual component, ....
});

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 49172

Trending Articles