ons-keyboard-active

This component is available with angular1 bindings only.

Conditionally display content depending on if the software keyboard is visible or hidden. This component requires cordova and that the com.ionic.keyboard plugin is installed.

Usage


<div ons-keyboard-active>
  This will only be displayed if the software keyboard is open.
</div>
<div ons-keyboard-inactive>
  There is also a component that does the opposite.
</div>

Attributes

Name Type Description
ons-keyboard-active The content of tags with this attribute will be visible when the software keyboard is open. Optional.
ons-keyboard-inactive The content of tags with this attribute will be visible when the software keyboard is hidden. Optional.

Need Help?

If you have any questions, use our Community Forum or talk to us on Discord chat. The Onsen UI team and your peers in the community will work together to help solve your issues.

For bug reports and feature requests use our GitHub Issues page.