Website/app/frontend/controllers/hello_controller.ts
Snoweuph cabf11cf88
All checks were successful
Quality Check / QS Backend (push) Successful in 19s
Quality Check / QS Mixed (push) Successful in 31s
Quality Check / QS Frontend (push) Successful in 38s
stuff
2024-07-27 22:52:32 +02:00

12 lines
379 B
TypeScript

import {Controller} from '@hotwired/stimulus';
export default class extends Controller {
static targets: Array<string> = ['container'];
declare readonly containerTarget: HTMLElement;
// eslint-disable-next-line @typescript-eslint/no-unused-vars
afterLoad(identifier: string, application: HTMLElement): void {
console.log(this.containerTarget);
}
}