Class: Voom::Presenters::DSL::Components::ExpansionPanel::Content
- Inherits:
-
Voom::Presenters::DSL::Components::EventBase
- Object
- Base
- Voom::Presenters::DSL::Components::EventBase
- Voom::Presenters::DSL::Components::ExpansionPanel::Content
- Includes:
- Mixins::Attaches, Mixins::Common
- Defined in:
- lib/voom/presenters/dsl/components/expansion_panel.rb
Instance Attribute Summary collapse
-
#components ⇒ Object
Returns the value of attribute components.
Attributes inherited from Voom::Presenters::DSL::Components::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) ⇒ Content
constructor
A new instance of Content.
Methods included from Mixins::Attaches
Methods included from Namespace
Methods included from Mixins::Common
#avatar, #badge, #card, #form, #list, #table, #unordered_list
Methods included from Mixins::Tables
Methods included from Mixins::Dialogs
Methods included from Mixins::ImageLists
Methods included from Mixins::Icons
Methods included from Mixins::Images
Methods included from Mixins::TabBars
Methods included from Mixins::Menus
Methods included from Mixins::Content
Methods included from Mixins::ExpansionPanels
Methods included from Mixins::Buttons
Methods included from Mixins::Grids
Methods included from Mixins::Typography
#blank, #body, #body2, #caption, #headline, #headline1, #headline2, #headline3, #headline4, #headline5, #headline6, #link, #overline, #page_title, #separator, #subtitle, #subtitle2, #text, #title
Methods included from Mixins::Append
Methods included from Mixins::Toggles
#checkbox, #icon_toggle, #radio_button, #switch
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) ⇒ Content
Returns a new instance of Content.
39 40 41 42 43 |
# File 'lib/voom/presenters/dsl/components/expansion_panel.rb', line 39 def initialize(**attribs_, &block) super(type: :content, **attribs_, &block) @components = [] end |
Instance Attribute Details
#components ⇒ Object
Returns the value of attribute components.
37 38 39 |
# File 'lib/voom/presenters/dsl/components/expansion_panel.rb', line 37 def components @components end |