OnSelect registers given listener function for [events.Select] events on Value. This is the primary notification event for all [Complete] elements.
(fun func(e events.Event))
| 225 | // OnSelect registers given listener function for [events.Select] events on Value. |
| 226 | // This is the primary notification event for all [Complete] elements. |
| 227 | func (c *Complete) OnSelect(fun func(e events.Event)) { |
| 228 | c.On(events.Select, fun) |
| 229 | } |
| 230 | |
| 231 | // On adds an event listener function for the given event type. |
| 232 | func (c *Complete) On(etype events.Types, fun func(e events.Event)) { |
no test coverage detected