holy crap click handling works too

This commit was merged in pull request #5.
This commit is contained in:
2025-08-29 22:58:06 -04:00
parent 4829fbb5c7
commit 430259475b
9 changed files with 173 additions and 119 deletions

View File

@@ -13,9 +13,9 @@ func BlockOpt(o blocks.Option) Option {
}
}
func Children(children ...elements.ElementFunc) Option {
func Children(children ...elements.InitFunc) Option {
return func(s *Stack) {
s.children = children
s.childrenInit = children
}
}