Class: Voom::Presenters::DSL::Components::Actions::ToggleVisibility

Inherits:
Base
  • Object
show all
Defined in:
lib/voom/presenters/dsl/components/actions/toggle_visibility.rb

Instance Attribute Summary

Attributes inherited from Base

#dynamic_params, #options, #params

Attributes inherited from Base

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

Instance Method Summary collapse

Methods inherited from Base

#url

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(**attribs_, &block) ⇒ ToggleVisibility

Returns a new instance of ToggleVisibility.



7
8
9
# File 'lib/voom/presenters/dsl/components/actions/toggle_visibility.rb', line 7

def initialize(**attribs_, &block)
  super(type: :toggle_visibility, **attribs_, &block)
end