Sha256: 3cd70e1f224a5fd31fa7b9826e35dfcab8b10b0db495b75742a7615a82c8c3a3

Contents?: true

Size: 391 Bytes

Versions: 4

Compression:

Stored size: 391 Bytes

Contents

class ComponentWithJsMixin < Netzke::Base
  js_property :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.3 test/core_test_app/app/components/component_with_js_mixin.rb
netzke-core-0.7.2 test/core_test_app/app/components/component_with_js_mixin.rb
netzke-core-0.7.1 test/rails_app/app/components/component_with_js_mixin.rb
netzke-core-0.7.0 test/rails_app/app/components/component_with_js_mixin.rb