Sha256: 85af22a80d5dc99097ce71ec3878cba6ed18027417622b5fd964223dc5743453

Contents?: true

Size: 392 Bytes

Versions: 3

Compression:

Stored size: 392 Bytes

Contents

class JsInclusion < Netzke::Base
  js_configure do |c|
    c.require :extra_one, :extra_two
    c.mixin :method_set_one, :method_set_two
    c.mixin # by default it assumes :js_inclusion
  end

  action :action_one
  action :action_two
  action :action_three

  def configure(c)
    super
    c.bbar = [:action_one, :action_two, :action_three]
    c.title = "JsInclusion component"
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
netzke-core-0.8.4 test/core_test_app/app/components/js_inclusion.rb
netzke-core-0.8.3 test/core_test_app/app/components/js_inclusion.rb
netzke-core-0.8.2 test/core_test_app/app/components/js_inclusion.rb