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