Sha256: fba27dd35ac29192288bea07a8fe030816afa85202fc79303f301689fa9a5367

Contents?: true

Size: 738 Bytes

Versions: 14

Compression:

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

14 entries across 14 versions & 2 rubygems

Version Path
netzke-basepack-0.7.7 lib/netzke/basepack/wrapper.rb
netzke-basepack-zh-0.7.6 lib/netzke/basepack/wrapper.rb
netzke-basepack-0.7.6 lib/netzke/basepack/wrapper.rb
netzke-basepack-0.7.5 lib/netzke/basepack/wrapper.rb
netzke-basepack-0.7.4 lib/netzke/basepack/wrapper.rb
netzke-basepack-0.7.3 lib/netzke/basepack/wrapper.rb
netzke-basepack-0.7.2 lib/netzke/basepack/wrapper.rb
netzke-basepack-0.7.1 lib/netzke/basepack/wrapper.rb
netzke-basepack-0.6.5 lib/netzke/basepack/wrapper.rb
netzke-basepack-0.7.0 lib/netzke/basepack/wrapper.rb
netzke-basepack-0.6.4 lib/netzke/basepack/wrapper.rb
netzke-basepack-0.6.3 lib/netzke/basepack/wrapper.rb
netzke-basepack-0.6.2 lib/netzke/basepack/wrapper.rb
netzke-basepack-0.6.1 lib/netzke/basepack/wrapper.rb