0
votes

I would like to know whether Keyboard open or not in my web page . So i want to check active element whether it is input and then if it is input of [type='text'], [type= 'passowrd'] etc? Is there a better way to build this logic or any defauult API to fetch this?

Do you want to know which input is focused?Emanuel Saramago
I want to identifyt the elements opens keyboard like input of type number opens but input type button wont open keyboard like that. But text area element open softkeyboardRoster