holy crap click handling works too
This commit was merged in pull request #5.
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user