Sha256: a3fdf665314963ee6a0de6d25f865d9c1000f3178f503c2b2e15e3029e0e353c

Contents?: true

Size: 479 Bytes

Versions: 12

Compression:

Stored size: 479 Bytes

Contents

class SomeAccordionPanel < Netzke::Basepack::AccordionPanel
  def configuration
    super.merge(
      :layout_config => {
         :animate => true,
       },
      :items => [:panel_one.component, :panel_two.component]
    )
  end

  component :panel_one, {
    :class_name => "Basepack::Panel",
    :title => "Panel One"
  }

  component :panel_two, {
    :class_name => "Basepack::Panel",
    :title => "Panel Two",
    :html => "Some html",
    :lazy_loading => true
  }
end

Version data entries

12 entries across 12 versions & 2 rubygems

Version Path
netzke-basepack-0.7.7 test/basepack_test_app/app/components/some_accordion_panel.rb
netzke-basepack-zh-0.7.6 test/basepack_test_app/app/components/some_accordion_panel.rb
netzke-basepack-0.7.6 test/basepack_test_app/app/components/some_accordion_panel.rb
netzke-basepack-0.7.5 test/basepack_test_app/app/components/some_accordion_panel.rb
netzke-basepack-0.7.4 test/basepack_test_app/app/components/some_accordion_panel.rb
netzke-basepack-0.7.3 test/basepack_test_app/app/components/some_accordion_panel.rb
netzke-basepack-0.7.2 test/basepack_test_app/app/components/some_accordion_panel.rb
netzke-basepack-0.7.1 test/basepack_test_app/app/components/some_accordion_panel.rb
netzke-basepack-0.6.5 test/rails_app/app/components/some_accordion_panel.rb
netzke-basepack-0.7.0 test/rails_app/app/components/some_accordion_panel.rb
netzke-basepack-0.6.4 test/rails_app/app/components/some_accordion_panel.rb
netzke-basepack-0.6.3 test/rails_app/app/components/some_accordion_panel.rb