Documentation
¶
Overview ¶
xml-reactive demonstrates every bind: attribute in WillowUI's XML template system.
Patterns shown:
- bind:text with a plain Ref[string] and with a ternary expression
- bind:value on TextInput, Toggle, Checkbox, Slider, ProgressBar
- bind:checked on Checkbox (alias for bind:value on bool widgets)
- bind:selected on Select, OptionRotator, Radio, TabBar
- bind:enabled gates controls reactively from a Ref[bool]
- ui:show toggles visibility based on a Ref[bool]
- Controller buttons mutate refs from Go; the template reacts automatically
Click to show internal directories.
Click to hide internal directories.