Class: Voom::Presenters::DSL::Components::Checkbox
- Inherits:
-
ToggleBase
- Object
- Base
- EventBase
- Input
- ToggleBase
- Voom::Presenters::DSL::Components::Checkbox
- Defined in:
- lib/voom/presenters/dsl/components/checkbox.rb
Instance Attribute Summary
Attributes inherited from ToggleBase
#checked, #disabled, #text, #value
Attributes inherited from Input
Attributes inherited from EventBase
Attributes included from Mixins::Event
Attributes inherited from Base
#attributes, #context, #id, #type
Instance Method Summary collapse
-
#initialize(**attribs_, &block) ⇒ Checkbox
constructor
A new instance of Checkbox.
Methods included from Mixins::Tooltips
Methods included from Mixins::Event
Methods inherited from Base
Methods included from Mixins::YieldTo
Methods included from Serializer
Methods included from Lockable
Constructor Details
#initialize(**attribs_, &block) ⇒ Checkbox
Returns a new instance of Checkbox.
8 9 10 11 |
# File 'lib/voom/presenters/dsl/components/checkbox.rb', line 8 def initialize(**attribs_, &block) super(type: :checkbox, **attribs_, &block) end |