module Subscription : { ... };
Module Keyboard-BsReactNative
type subscription
;
type event('a)
= 'a
constraint 'a = Js.t({.. endCoordinates : Js.t({. height : float, screenX : float, screenY : float, width : float, }), } as b)
;type listener('a)
= event('a) => unit
constraint 'a = Js.t({.. endCoordinates : Js.t({. height : float, screenX : float, screenY : float, width : float, }), } as b)
;type keyboardEvent
=
;|
KeyboardWillShow
|
KeyboardDidShow
|
KeyboardWillHide
|
KeyboardDidHide
|
KeyboardWillChangeFrame
|
KeyboardDidChangeFrame
let addListener : keyboardEvent => listener(Js.t({.. endCoordinates : Js.t({. height : float, screenX : float, screenY : float, width : float, }), })) => subscription;
let removeAllListeners : keyboardEvent => unit;
let removeListener : keyboardEvent => listener(Js.t({.. endCoordinates : Js.t({. height : float, screenX : float, screenY : float, width : float, }), })) => unit;