Skip to content

Commit f226828

Browse files
authored
Add targetevent to current versioned doc (facebook#4623)
1 parent 1895ec8 commit f226828

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
---
2+
id: targetevent
3+
title: TargetEvent Object Type
4+
---
5+
6+
`TargetEvent` object is returned in the callback as a result of focus change, for example `onFocus` or `onBlur` in the [TextInput](textinput) component.
7+
8+
## Example
9+
10+
```
11+
{
12+
target: 1127
13+
}
14+
```
15+
16+
## Keys and values
17+
18+
### `target`
19+
20+
The node id of the element receiving the TargetEvent.
21+
22+
| Type | Optional |
23+
| --------------------------- | -------- |
24+
| number, `null`, `undefined` | No |
25+
26+
## Used by
27+
28+
- [`TextInput`](textinput)
29+
- [`TouchableWithoutFeedback`](touchablewithoutfeedback)

0 commit comments

Comments
 (0)