12 lines
379 B
TypeScript
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);
|
|
}
|
|
}
|