Sha256: d25a1bf85dfaef7f8e6149e8a7fbf0fcb345f2623a7036ba6c3ef14271f7bcc4

Contents?: true

Size: 440 Bytes

Versions: 12

Compression:

Stored size: 440 Bytes

Contents

class SomeTabPanel < Netzke::Basepack::TabPanel
  def configuration
    super.merge(
      :active_tab => 0,
      :items => [:tab_one.component,:tab_two.component]
    )
  end

  component :tab_one, {
    :title => "First Tab",
    :class_name => "Basepack::Panel"
  }

  component :tab_two, {
    :title => "Second Tab",
    :class_name => "Basepack::Panel",
    :lazy_loading => true # Dynamically loaded when the tab gets open
  }

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_tab_panel.rb
netzke-basepack-zh-0.7.6 test/basepack_test_app/app/components/some_tab_panel.rb
netzke-basepack-0.7.6 test/basepack_test_app/app/components/some_tab_panel.rb
netzke-basepack-0.7.5 test/basepack_test_app/app/components/some_tab_panel.rb
netzke-basepack-0.7.4 test/basepack_test_app/app/components/some_tab_panel.rb
netzke-basepack-0.7.3 test/basepack_test_app/app/components/some_tab_panel.rb
netzke-basepack-0.7.2 test/basepack_test_app/app/components/some_tab_panel.rb
netzke-basepack-0.7.1 test/basepack_test_app/app/components/some_tab_panel.rb
netzke-basepack-0.6.5 test/rails_app/app/components/some_tab_panel.rb
netzke-basepack-0.7.0 test/rails_app/app/components/some_tab_panel.rb
netzke-basepack-0.6.4 test/rails_app/app/components/some_tab_panel.rb
netzke-basepack-0.6.3 test/rails_app/app/components/some_tab_panel.rb