Class: TabPanels::Component

Inherits:
Lookbook::BaseComponent
  • Object
show all
Defined in:
app/components/lookbook/tab_panels/component.rb

Instance Method Summary collapse

Constructor Details

#initialize(**html_attrs) ⇒ Component

Returns a new instance of Component.



9
10
11
12
# File 'app/components/lookbook/tab_panels/component.rb', line 9

def initialize(**html_attrs)
  @panel_counter = 0
  super(**html_attrs)
end