use-mobile-keyboard-visibility
TypeScript icon, indicating that this package has built-in type declarations

1.3.8 • Public • Published

use-mobile-keyboard-visibility

React hook for subscribing to window size!

build platform stars license

basic-merchandising

Install

yarn add use-mobile-keyboard-visibility

Usage

import useMobileKeyboardVisibililty from 'use-mobile-keyboard-visibility'
 
function MyComponent() {
  const minimumKeyboardHeight = 100
  let isKeyboardVisible = useMobileKeyboardVisibililty(minimumKeyboardHeight)
  console.log(isKeyboardVisible)
 
  // ...
}

Contributors

Special thanks to Fernanda Almeida, whom thoroughly tested this package 💖.

Package Sidebar

Install

npm i use-mobile-keyboard-visibility

Weekly Downloads

1

Version

1.3.8

License

MIT

Unpacked Size

3.92 kB

Total Files

6

Last publish

Collaborators

  • leopq