layout-position and layout-none
Animate eligible position changes after resolving the new layout.
Quick reference
| Syntax | Behavior |
|---|---|
layout-position | Opt into keyed position movement. |
layout-none | Disable 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.