LayoutEvent object is returned in the callback as a result of component layout change, for example onLayout in View component.
Documentation Index
Fetch the complete documentation index at: /docs/llms.txt
Use this file to discover all available pages before exploring further.
LayoutEvent object is returned in the callback as a result of component layout change, for example onLayout in View component.
LayoutEvent object is returned in the callback as a result of component layout change, for example onLayout in View component.
{
layout: {
width: 520,
height: 70.5,
x: 0,
y: 42.5
},
target: 1127
}
height| Type | Optional |
|---|---|
| number | No |
width| Type | Optional |
|---|---|
| number | No |
x| Type | Optional |
|---|---|
| number | No |
y| Type | Optional |
|---|---|
| number | No |
target| Type | Optional |
|---|---|
number, null, undefined | No |
Was this page helpful?
Supported devices
