xml-reactive

command
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 11, 2026 License: MIT Imports: 5 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL