Class: CheckInput
- Inherits:
-
React::Component::Base
- Object
- React::Component::Base
- CheckInput
- Defined in:
- lib/bull/ui_core.rb
Instance Method Summary collapse
Instance Method Details
#render ⇒ Object
365 366 367 |
# File 'lib/bull/ui_core.rb', line 365 def render input(type: :checkbox, checked: params.value).on(:change){params.on_change.call !params.value} end |