Class: Voom::Presenters::DSL::Components::Chip::Icon
Instance Attribute Summary
Attributes inherited from IconBase
#color, #hidden, #icon, #position, #size
Attributes inherited from EventBase
Attributes included from Mixins::Event
Attributes inherited from Base
#attributes, #css_class, #draggable, #drop_zone, #id, #tag, #type
Instance Method Summary collapse
-
#initialize(**attribs_, &block) ⇒ Icon
constructor
A new instance of Icon.
Methods included from Mixins::Tooltips
Methods included from Mixins::Event
Methods inherited from Base
Methods included from Pluggable
#include_plugins, #plugin, #plugin_module
Methods included from Mixins::YieldTo
Methods included from Serializer
Methods included from Lockable
Constructor Details
#initialize(**attribs_, &block) ⇒ Icon
Returns a new instance of Icon.
40 41 42 43 44 |
# File 'lib/voom/presenters/dsl/components/chip.rb', line 40 def initialize(**attribs_, &block) super(**attribs_, &block) @position = [:left] if position.empty? end |