Method: ExtNode#apply_config

Defined in:
lib/extjsml/basenode.rb

#apply_config(h) ⇒ Object



188
189
190
191
192
193
# File 'lib/extjsml/basenode.rb', line 188

def apply_config(h)
  if not @config[:cls].nil? and not h[:cls].nil?
    @config[:cls] += " #{h[:cls]}"
  end
  @config = h.merge @config 
end