feat: improve real-time chart example; add small refinements to via core files

This commit is contained in:
Joao Goncalves
2025-11-07 00:44:48 -01:00
parent c167f0c74f
commit 798f024743
7 changed files with 63 additions and 20 deletions

View File

@@ -49,7 +49,7 @@ func (s *signal) Bind() h.H {
//
// Example:
//
// h.Div(h.Text("x: "), mysignal.Text())
// h.Div(mysignal.Text())
func (s *signal) Text() h.H {
return h.Data("text", "$"+s.id)
}