Sha256: 21cc9be2510182c23ee20ac4ab8a538f5f975cda6898b101b478e531b4cfe0f5

Contents?: true

Size: 147 Bytes

Versions: 10

Compression:

Stored size: 147 Bytes

Contents

import { Controller } from "stimulus"

export default class extends Controller {
  connect() {
    this.element.textContent = "Hello World!"
  }
}

Version data entries

10 entries across 10 versions & 2 rubygems

Version Path
stimulus-rails-0.2.4 lib/install/app/assets/javascripts/controllers/hello_controller.js
stimulus-rails-0.2.3 lib/install/app/assets/javascripts/controllers/hello_controller.js
stimulus-rails-0.2.2 lib/install/app/assets/javascripts/controllers/hello_controller.js
stimulus-rails-0.2.1 lib/install/app/assets/javascripts/controllers/hello_controller.js
stimulus-rails-0.2.0 lib/install/app/assets/javascripts/controllers/hello_controller.js
stimulus-rails-0.1.4 lib/install/app/assets/javascripts/controllers/hello_controller.js
stimulus-rails-0.1.3 lib/install/app/assets/javascripts/controllers/hello_controller.js
stimulus-rails-0.1.2 lib/install/app/assets/javascripts/controllers/hello_controller.js
stimulus-rails-0.1.1 lib/install/app/assets/javascripts/controllers/hello_controller.js
hotwire-stimulus-rails-0.1.0 lib/install/app/assets/javascripts/controllers/hello_controller.js