as

Settings
Sign out
Notifications
Alexa
Amazonアプリストア
AWS
ドキュメント
Support
Contact Us
My Cases
開発
設計と開発
公開
リファレンス
サポート
アクセスいただきありがとうございます。こちらのページは現在英語のみのご用意となっております。順次日本語化を進めてまいりますので、ご理解のほどよろしくお願いいたします。

LayoutEvent

LayoutEvent object is returned in the callback as a result of component layout change, for example onLayout in View component.

Example


{
    layout: {
        width: 520,
            height: 70.5,
            x: 0,
            y: 42.5
    },
    target: 1127
}

Keys and values

height

Height of the component after the layout changes.

Type Optional
number No

width

Width of the component after the layout changes.

Type Optional
number No

x

Component X coordinate inside the parent component.

Type Optional
number No

y

Component Y coordinate inside the parent component.

Type Optional
number No

target

The node id of the element receiving the PressEvent.

Type Optional
number, null, undefined No

Used by


Last updated: Sep 30, 2025