class Voom::Presenters::DSL::Components::Snackbar::Action
Attributes
text[RW]
Public Class Methods
new(**attribs_, &block)
click to toggle source
Calls superclass method
Voom::Presenters::DSL::Components::EventBase::new
# File lib/voom/presenters/dsl/components/snackbar.rb, line 22 def initialize(**attribs_, &block) super(type: :snackbar, **attribs_, &block) @text = attribs.delete(:text) expand! end