Class: Voom::Presenters::DSL::Components::Icon
- Includes:
- Mixins::Tooltips
- Defined in:
- lib/voom/presenters/dsl/components/icon.rb
Instance Attribute Summary
Attributes inherited from IconBase
#color, #icon, #position, #size
Attributes inherited from EventBase
Attributes included from Mixins::Event
Attributes inherited from Base
#attributes, #context, #id, #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 Mixins::YieldTo
Methods included from Serializer
Methods included from Lockable
Constructor Details
#initialize(**attribs_, &block) ⇒ Icon
Returns a new instance of Icon.
12 13 14 15 16 |
# File 'lib/voom/presenters/dsl/components/icon.rb', line 12 def initialize(**attribs_, &block) super(context: context, **attribs_, &block) end |