Sha256: 1dd98111ec54b93b61facc8821bee54ba4fbe7635a98084cff4dc5727e1013e5

Contents?: true

Size: 381 Bytes

Versions: 5

Compression:

Stored size: 381 Bytes

Contents

# A composite component which has its child components defined inline (as opposed to a using the "component" DSL method explicitely)
class InlineComposite < Netzke::Base
  js_property :layout, :vbox

  # Set width for all
  js_property :defaults, {:width => "100%", :flex => 1}

  items [{
    :class_name => "ServerCaller"
  },{
    :class_name => "ExtendedServerCaller"
  }]
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
netzke-core-0.8.1 test/core_test_app/app/components/inline_composite.rb
netzke-core-0.8.0 test/core_test_app/app/components/inline_composite.rb
netzke-core-0.7.7 test/core_test_app/app/components/inline_composite.rb
netzke-core-0.7.6 test/core_test_app/app/components/inline_composite.rb
netzke-core-0.7.5 test/core_test_app/app/components/inline_composite.rb