diff --git a/website/versioned_docs/version-0.79/targetevent.md b/website/versioned_docs/version-0.79/targetevent.md new file mode 100644 index 00000000000..ffa4f6aa2b8 --- /dev/null +++ b/website/versioned_docs/version-0.79/targetevent.md @@ -0,0 +1,29 @@ +--- +id: targetevent +title: TargetEvent Object Type +--- + +`TargetEvent` object is returned in the callback as a result of focus change, for example `onFocus` or `onBlur` in the [TextInput](textinput) component. + +## Example + +``` +{ + target: 1127 +} +``` + +## Keys and values + +### `target` + +The node id of the element receiving the TargetEvent. + +| Type | Optional | +| --------------------------- | -------- | +| number, `null`, `undefined` | No | + +## Used by + +- [`TextInput`](textinput) +- [`TouchableWithoutFeedback`](touchablewithoutfeedback)