Split
A controlled split allocation.
Props
| Prop | Type | Required |
|---|---|---|
accessibilityHint | string | No |
enabled | boolean | No |
label | string | Yes |
max | number | No |
min | number | No |
orientation | string | No |
semantics | string | No |
value | number | Yes |
Types describe evaluated values. Literal native attributes use the declared decoder; use bind-* for expressions. any still has the semantic constraints listed below. Common document attributes (class, state, show, etc.) are separate from props.
Example
<Column state="{position:50}"><Split label="Panels" model="position"><Text text="First" /><Text text="Second" /></Split></Column>
Defaults, values, and validation
Requires two children. orientation is horizontal/vertical. min/max default 10/90 percent, 0 ≤ min < max ≤ 100; value stays in bounds.
Unknown props, wrong types, missing required props, and unsupported child structure fail validation. Use attributes for evaluated input and diagnostics for recovery.
Events
on-change
change carries {value: ...} with the controlled value. See this primitive’s value rules; model assigns this field before the explicit handler.
Local commands
No local commands.