Sha256: f7c15cbfaa955b1a4d2112a990b7b59aad8c5ab40326b563f2e0232c2deb178e

Contents?: true

Size: 372 Bytes

Versions: 1

Compression:

Stored size: 372 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

1 entries across 1 versions & 1 rubygems

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