Sha256: 8375b1a8220dfa2e481aae0ffb322c532a080599f554695524c31d2e7156ef17

Contents?: true

Size: 378 Bytes

Versions: 4

Compression:

Stored size: 378 Bytes

Contents

class ComponentWithJsMixin < Netzke::Base
  title "ComponentWithJsMixin"

  js_include :extra_one, :extra_two
  js_mixin :method_set_one, :method_set_two
  js_mixin # with no parameters, it'll assume :component_with_js_mixin
  action :action_one
  action :action_two
  action :action_three
  js_property :bbar, [:action_one.action, :action_two.action, :action_three.action]
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
netzke-core-0.7.7 test/core_test_app/app/components/component_with_js_mixin.rb
netzke-core-0.7.6 test/core_test_app/app/components/component_with_js_mixin.rb
netzke-core-0.7.5 test/core_test_app/app/components/component_with_js_mixin.rb
netzke-core-0.7.4 test/core_test_app/app/components/component_with_js_mixin.rb