Sha256: da9894d4e260e4a132b2fe2dfd2e7a7cee6c392f10b1194a5d6e8a719790ecb8

Contents?: true

Size: 530 Bytes

Versions: 11

Compression:

Stored size: 530 Bytes

Contents

module Touch
  class SimpleCarousel < Netzke::Base
    js_base_class "Ext.Carousel"

    js_properties(
      :fullscreen => true,
      :docked_items => [{:dock => :top, :xtype => :toolbar, :title => 'Carousel Toolbar'}]
    )

    def configuration
      super.merge({:items => [:panel_one.component, :panel_two.component]})
    end

    component :panel_one, :class_name => "Touch::ServerCaller", :html => "ServerCaller One"
    component :panel_two, :class_name => "Touch::ServerCaller", :html => "ServerCaller Two"
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
netzke-core-0.7.7 test/core_test_app/app/components/touch/simple_carousel.rb
netzke-core-0.7.6 test/core_test_app/app/components/touch/simple_carousel.rb
netzke-core-0.7.5 test/core_test_app/app/components/touch/simple_carousel.rb
netzke-core-0.7.4 test/core_test_app/app/components/touch/simple_carousel.rb
netzke-core-0.7.3 test/core_test_app/app/components/touch/simple_carousel.rb
netzke-core-0.7.2 test/core_test_app/app/components/touch/simple_carousel.rb
netzke-core-0.7.1 test/rails_app/app/components/touch/simple_carousel.rb
netzke-core-0.6.7 test/rails_app/app/components/touch/simple_carousel.rb
netzke-core-0.7.0 test/rails_app/app/components/touch/simple_carousel.rb
netzke-core-0.6.6 test/rails_app/app/components/touch/simple_carousel.rb
netzke-core-0.6.5 test/rails_app/app/components/touch/simple_carousel.rb