@@ -108,6 +108,17 @@ module ResponderSyntheticEvent = (
|
108 | 108 | @get external touchHistory: t => touchHistory = "touchHistory" |
109 | 109 | } |
110 | 110 | |
| 111 | +module BlurEvent = { |
| 112 | +include SyntheticEvent({ |
| 113 | +type _payload = {target: float} |
| 114 | + }) |
| 115 | +} |
| 116 | +module FocusEvent = { |
| 117 | +include SyntheticEvent({ |
| 118 | +type _payload = {target: float} |
| 119 | + }) |
| 120 | +} |
| 121 | + |
111 | 122 | module LayoutEvent = { |
112 | 123 | type layout = { |
113 | 124 | x: float, |
@@ -206,9 +217,11 @@ module TargetEvent = {
|
206 | 217 | }) |
207 | 218 | } |
208 | 219 | |
| 220 | +type blurEvent = BlurEvent.t |
| 221 | +type focusEvent = FocusEvent.t |
209 | 222 | type layoutEvent = LayoutEvent.t |
210 | | -type textLayoutEvent = TextLayoutEvent.t |
211 | 223 | type pressEvent = PressEvent.t |
212 | 224 | type scrollEvent = ScrollEvent.t |
213 | 225 | type switchChangeEvent = SwitchChangeEvent.t |
214 | 226 | type targetEvent = TargetEvent.t |
| 227 | +type textLayoutEvent = TextLayoutEvent.t |