简体中文
外观
SUS 使用类似 Vue refs 的响应式数据源:
public Prop<string> Title = new("Hello"); public Prop<int> Count = new(0); Title.Value = "World"; Count.Value++;
Prop<T>
Computed<T>
Watch
WatchEffect
当 .Value 变化时,template 绑定与 :class / v-if 会重新求值。
.Value
:class
v-if
完整指南: 响应式