Sha256: c657c6989caf15c8d36603a8a5ffa1de5562cd9686bfb537838b4e2870885f24

Contents?: true

Size: 751 Bytes

Versions: 1

Compression:

Stored size: 751 Bytes

Contents

module Netzke
  module Basepack
    # = Wrapper
    # 
    # Simple Ext.Panel with layout 'fit' that wraps up another Netzke component. Can be useful in HTML pages where
    # a component should be dynamically configured, to not reload the entire page after configuration (Wrapper 
    # will reload the component automatically).
    # 
    # == Configuration
    # * <tt>:item</tt> - configuration hash for wrapped component
    # 
    # Example:
    # 
    #   netzke :wrapper, :item => {
    #     :class_name => "FormPanel",
    #     :model => "User"
    #   }
    class Wrapper < Netzke::Base
      js_properties(
        :layout => 'fit',
        
        # invisible
        :header => false,
        :border => false
      )
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
netzke-basepack-0.6.0 app/components/netzke/basepack/wrapper.rb