CRUD for domains & playing with symfony stimulus
This commit is contained in:
@@ -11,6 +11,11 @@ import { Controller } from '@hotwired/stimulus';
|
||||
*/
|
||||
export default class extends Controller {
|
||||
connect() {
|
||||
this.element.textContent = 'Hello Stimulus! Edit me in assets/controllers/hello_controller.js';
|
||||
//this.element.textContent = 'Hello Stimulus! Edit me in assets/controllers/domains_controller.js';
|
||||
}
|
||||
|
||||
static targets = ['name', 'output']
|
||||
greet() {
|
||||
this.outputTarget.textContent = `Hello, ${this.nameTarget.value}!`
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user