Sha256: 6940c7cb3be5525bcae887bafaf12f109ca21eeb990f9edf7a5fc210d13cd985

Contents?: true

Size: 292 Bytes

Versions: 21

Compression:

Stored size: 292 Bytes

Contents

class HelloWorld < HTMLElement
  def connected_callback()
    self.inner_html = "<p><strong>Hello World!</strong></p>"
  end
end

# Try adding `<hello-world></hello-world>` somewhere on your site to see this
# example web component in action!
custom_elements.define "hello-world", HelloWorld

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
bridgetown-core-2.0.0.beta3 lib/bridgetown-core/configurations/ruby2js/hello_world.js.rb
bridgetown-core-2.0.0.beta2 lib/bridgetown-core/configurations/ruby2js/hello_world.js.rb
bridgetown-core-2.0.0.beta1 lib/bridgetown-core/configurations/ruby2js/hello_world.js.rb
bridgetown-core-1.3.4 lib/bridgetown-core/configurations/ruby2js/hello_world.js.rb
bridgetown-core-1.3.3 lib/bridgetown-core/configurations/ruby2js/hello_world.js.rb
bridgetown-core-1.3.2 lib/bridgetown-core/configurations/ruby2js/hello_world.js.rb
bridgetown-core-1.3.1 lib/bridgetown-core/configurations/ruby2js/hello_world.js.rb
bridgetown-core-1.3.0 lib/bridgetown-core/configurations/ruby2js/hello_world.js.rb
bridgetown-core-1.3.0.beta3 lib/bridgetown-core/configurations/ruby2js/hello_world.js.rb
bridgetown-core-1.3.0.beta2 lib/bridgetown-core/configurations/ruby2js/hello_world.js.rb
bridgetown-core-1.3.0.beta1 lib/bridgetown-core/configurations/ruby2js/hello_world.js.rb
bridgetown-core-1.2.0 lib/bridgetown-core/configurations/ruby2js/hello_world.js.rb
bridgetown-core-1.2.0.beta5 lib/bridgetown-core/configurations/ruby2js/hello_world.js.rb
bridgetown-core-1.2.0.beta4 lib/bridgetown-core/configurations/ruby2js/hello_world.js.rb
bridgetown-core-1.2.0.beta3 lib/bridgetown-core/configurations/ruby2js/hello_world.js.rb
bridgetown-core-1.2.0.beta2 lib/bridgetown-core/configurations/ruby2js/hello_world.js.rb
bridgetown-core-1.2.0.beta1 lib/bridgetown-core/configurations/ruby2js/hello_world.js.rb
bridgetown-core-1.1.0 lib/bridgetown-core/configurations/ruby2js/hello_world.js.rb
bridgetown-core-1.1.0.beta3 lib/bridgetown-core/configurations/ruby2js/hello_world.js.rb
bridgetown-core-1.1.0.beta2 lib/bridgetown-core/configurations/ruby2js/hello_world.js.rb