Counter
Numeric counter with +/− buttons, client-side only.
Live
0
Example
ui.Counter(ui.CounterConfig{SignalName: "qty"})
// or typed + auto-seeded via a store slice:
ui.Counter(ui.CounterConfig{Slice: store.New("cart").Int("count", 0)})Numeric counter with +/− buttons, client-side only.
ui.Counter(ui.CounterConfig{SignalName: "qty"})
// or typed + auto-seeded via a store slice:
ui.Counter(ui.CounterConfig{Slice: store.New("cart").Int("count", 0)})