Class: Voom::Presenters::DSL::Components::EventBase
- Includes:
- Mixins::Event
- Defined in:
- lib/voom/presenters/dsl/components/event_base.rb
Direct Known Subclasses
Avatar, Badge, Button, Card, Chip, Chipset, Content, Dialog, ExpansionPanel, Voom::Presenters::DSL::Components::ExpansionPanel::Content, Form, Grid, Grid::Column, IconBase, Image, Input, Lists::Line, Menu::Item, MultiSelect::CheckOption, Snackbar::Action, TabBar::Tab, Table::Row::Column, Typography, Plugins::GoogleMaps::GoogleMap
Instance Attribute Summary collapse
-
#event_parent_id ⇒ Object
readonly
Returns the value of attribute event_parent_id.
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) ⇒ EventBase
constructor
A new instance of EventBase.
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) ⇒ EventBase
Returns a new instance of EventBase.
9 10 11 12 13 |
# File 'lib/voom/presenters/dsl/components/event_base.rb', line 9 def initialize(**attribs_, &block) super(type: :icon, **attribs_, &block) @event_parent_id = @id end |
Instance Attribute Details
#event_parent_id ⇒ Object (readonly)
Returns the value of attribute event_parent_id.
7 8 9 |
# File 'lib/voom/presenters/dsl/components/event_base.rb', line 7 def event_parent_id @event_parent_id end |