Keyboard-open css

With ionic 1 there used to be a class added to the body, ‘keyboard-open’ when the keyboard was active.

With ionic 2 how would we go about having different views based on css to suit the display based on whether the keyboard is open or not.

Also there used to be a ‘keyboard-attach’ directive, is this going to be implemented soon. There’s a gist floating around. If the css class worked that would be awesome if theres no planned directive.