Sha256: 414a669e91048d899a313e9be448643d904c464daac708eb653b236ff059ee3d
Contents?: true
Size: 935 Bytes
Versions: 6
Compression:
Stored size: 935 Bytes
Contents
module Voom module Presenters module DSL module Components module Mixins module Toggles include Mixins::Append def checkbox(**attribs, &block) self << Checkbox.new(parent: self, **attribs, &block) end def radio_button(**attribs, &block) self << RadioButton.new(parent: self, **attribs, &block) end def switch(**attribs, &block) self << Switch.new(parent: self, **attribs, &block) end def icon_toggle(icon, **attribs, &block) trace { attribs.inspect } self << IconToggle.new(parent: self, icon: icon, **attribs, &block) end end end end end end end
Version data entries
6 entries across 6 versions & 1 rubygems