Class: Voom::Presenters::DSL::Components::Stepper::Step::Actions::StepperButton

Inherits:
Button
  • Object
show all
Defined in:
lib/voom/presenters/dsl/components/stepper.rb

Constant Summary

Constants inherited from Button

Button::BUTTON_TYPES

Instance Attribute Summary collapse

Attributes inherited from Button

#background_color, #button_type, #color, #disabled, #disabled_on_post_finished, #full_width, #hidden, #icon, #position, #size, #text, #wrap_text

Attributes inherited from EventBase

#event_parent_id

Attributes included from Mixins::Event

#events

Attributes inherited from Base

#attributes, #css_class, #draggable, #drop_zone, #id, #tag, #type

Instance Method Summary collapse

Methods inherited from Button

#image, #menu

Methods included from Mixins::Padding

#coerce_padding, #validate_padding

Methods included from Mixins::Tooltips

#tooltip

Methods included from Mixins::Event

#event

Methods inherited from Base

#expand!

Methods included from Pluggable

#include_plugins, #plugin, #plugin_module

Methods included from Mixins::YieldTo

#yield_to

Methods included from Serializer

#to_hash

Methods included from Lockable

#locked?

Constructor Details

#initialize(stepper_type, **attribs_, &block) ⇒ StepperButton

Returns a new instance of StepperButton.



81
82
83
84
# File 'lib/voom/presenters/dsl/components/stepper.rb', line 81

def initialize(stepper_type, **attribs_, &block)
  @stepper_type = stepper_type
  super(**attribs_, &block)
end

Instance Attribute Details

#stepper_typeObject (readonly)

Returns the value of attribute stepper_type.



80
81
82
# File 'lib/voom/presenters/dsl/components/stepper.rb', line 80

def stepper_type
  @stepper_type
end