| 17 | Notifier<const ClickEvent &> &Switch::onClick() { return _onClick; } |
| 18 | |
| 19 | void Switch::bindViewCore() |
| 20 | { |
| 21 | View::bindViewCore(); |
| 22 | auto switchCore = core<Switch::Core>(); |
| 23 | switchCore->label.bind(label); |
| 24 | switchCore->on.bind(on); |
| 25 | } |
| 26 | } |