as

Settings
Sign out
Notifications
Alexa
亚马逊应用商店
Ring
AWS
文档
Support
Contact Us
My Cases
新手入门
设计和开发
应用发布
参考
支持
跳转到主要内容
LayoutEvent object is returned in the callback as a result of component layout change, for example onLayout in View component.

Example

Keys and values

height

Height of the component after the layout changes.

width

Width of the component after the layout changes.

x

Component X coordinate inside the parent component.

y

Component Y coordinate inside the parent component.

target

The node id of the element receiving the PressEvent.

Used by


最后修改于 2026年10月26日