predator_pics_rails/app/javascript/controllers/hello_controller.js

8 lines
157 B
JavaScript
Raw Normal View History

2024-11-19 12:24:49 +00:00
import { Controller } from "@hotwired/stimulus"
export default class extends Controller {
connect() {
this.element.textContent = "Hello World!"
}
}