1.2.0 • Published 6 years ago

cycle-native-keyboard v1.2.0

Weekly downloads
1
License
MIT
Repository
gitlab
Last release
6 years ago

Cycle Native Keyboard

A Cycle.js Driver for interacting with the Keyboard in React Native

npm install cycle-native-keyboard

Usage

Sink

Stream of 'dismiss' strings to force the keyboard to be dismissed.

Source

Object with method events(type) which returns a stream of type events from the keyboard. Supported types are:

  • 'keyboardWillShow'
  • 'keyboardDidShow'
  • 'keyboardWillHide'
  • 'keyboardDidHide'
  • 'keyboardWillChangeFrame'
  • 'keyboardDidChangeFrame'

License

Copyright (C) 2018 Andre 'Staltz' Medeiros, licensed under MIT license