Sha256: 4bb2d4c697bea5f4a9db12e411181a442e0a39c89e136244e3ee6f89505f1655
Contents?: true
Size: 936 Bytes
Versions: 12
Compression:
Stored size: 936 Bytes
Contents
module Coprl 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
12 entries across 12 versions & 1 rubygems