How to get the input value from the native keyboard


Hello everybody,

Today I am testing around with the native keyboard for Ionic 2 to load it when a page loads. Showing the keyboard works okay but I would also like to know what a person is typing to be able to use this in my application.

Unfortunately I haven’t been able to figure out how to extract the value from the keyboard and thus I can’t use the input of the keyboard. My initial thought would be to use some kind of “on change” trigger/subscribe reference but other than attach I haven’t gotten further.

Would anybody know how I could get this to work?

This is my code at the moment:

constructor(public platform: Platform, public navCtrl: NavController) {

platform.ready().then(() => {;
	Keyboard.onKeyboardShow().subscribe(() => {
		console.log("keyboard open");


Thanks in advance.

Best regards,