Sha256: 4b05995758bfd5c4211a7ef42ec5516c57a21f2a985bdbb8bad56e02fd4c8afc

Contents?: true

Size: 371 Bytes

Versions: 3

Compression:

Stored size: 371 Bytes

Contents

class ComponentWithIncludedJs < Netzke::Base
  js_include "#{File.dirname(__FILE__)}/included.js"
  
  js_base_class "Netzke.ComponentWithIncludedJs"
  
  action :print_message
  
  js_property :bbar, [:print_message.action]
  
  js_method :on_print_message, <<-JS
    function(){
      this.updateBodyWithMessage("Some message " + "shown in the body");
    }
  JS
  
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
netzke-core-0.6.2 test/rails_app/app/components/component_with_included_js.rb
netzke-core-0.6.1 test/rails_app/app/components/component_with_included_js.rb
netzke-core-0.6.0 test/rails_app/app/components/component_with_included_js.rb