Sha256: 22c2ba7b10e0b3e86d6f6690afdc4e6a6832362b5fb339acebdd2c41cd40be1c
Contents?: true
Size: 727 Bytes
Versions: 9
Compression:
Stored size: 727 Bytes
Contents
module Netzke module Basepack # == Window # Ext.Window-based component able to nest other Netzke components # # == Features # * Persistent position and dimensions # # == Instance configuration # <tt>:item</tt> - nested Netzke component, e.g.: # # netzke :window, :item => {:class_name => "GridPanel", :model => "User"} class Window < Netzke::Base js_base_class "Ext.window.Window" js_mixin endpoint :set_size_and_position do |params| update_persistent_options( :x => params[:x].to_i, :y => params[:y].to_i, :width => params[:w].to_i, :height => params[:h].to_i ) {} end end end end
Version data entries
9 entries across 9 versions & 2 rubygems