Skip to main content

layout-position and layout-none

Animate eligible position changes after resolving the new layout.

Quick reference​

SyntaxBehavior
layout-positionOpt into keyed position movement.
layout-noneDisable layout movement on this node.

Example​

<Column>
<For each="item" in="data.rows" key="item.id">
<Text bind-text="item.title" class="layout-position spring-soft" />
</For>
</Column>

Supply this object as the document’s data:

{"rows":[{"id":"one","title":"First item"},{"id":"two","title":"Second item"}]}

Rules and validation​

Stable identity is required. Only mounted List rows participate. Keys do not create shared elements across unrelated destinations or support reparent matching. Host scroll, keyboard, and viewport changes are not authored layout transitions.

Keyed movement · All reference