Sha256: 1870517a26a68e9f2e4d542569404fcb252584e235ded612c0fd29b7bbdb764e

Contents?: true

Size: 300 Bytes

Versions: 3

Compression:

Stored size: 300 Bytes

Contents

import { Controller } from "@hotwired/stimulus"

// Read more about Stimulus here https://stimulus.hotwired.dev/
export default class extends Controller {
  connect() {
    console.log("Stimulus controller '<%= stimulus_controller_id %>' is connected!")
  }

  greet() {
    alert("Hi there!")
  }
}

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
amber_component-1.2.0 lib/generators/templates/controller.js.erb
amber_component-1.1.1 lib/generators/templates/controller.js.erb
amber_component-1.1.0 lib/generators/templates/controller.js.erb