Sha256: 45f26db19a6324a1ba518dfb7cfa1b94f75b720e624659912c417bffa2bf61f5

Contents?: true

Size: 368 Bytes

Versions: 2

Compression:

Stored size: 368 Bytes

Contents

class WindowComponentLoader < Netzke::Base
  component :some_window, {
    :class_name => "Basepack::Window",
    :title => "Some Window Component",
    :lazy_loading => true
  }

  action :load_window

  js_property :bbar, [:load_window.action]

  js_method :on_load_window, <<-JS
    function(params){
      this.loadComponent({name: "some_window"});
    }
  JS
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
netzke-basepack-0.6.2 test/rails_app/app/components/window_component_loader.rb
netzke-basepack-0.6.1 test/rails_app/app/components/window_component_loader.rb