Sha256: 5dd2002afc1839cca3d41cb17a36a0e84602300ae4041213a419158a4df251b9

Contents?: true

Size: 339 Bytes

Versions: 2

Compression:

Stored size: 339 Bytes

Contents

class KindaComplexComponent < Netzke::Base
  module ExtraStuff
    extend ActiveSupport::Concern
    
    included do
      component :server_caller
    end
    
    # Let's add another tab with a Netzke component in it
    def final_config
      orig = super
      orig[:items] << js_component(:server_caller)
      orig
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
netzke-core-0.6.1 test/rails_app/app/components/kinda_complex_component/extra_stuff.rb
netzke-core-0.6.0 test/rails_app/app/components/kinda_complex_component/extra_stuff.rb