FestinHegre/vendor/symfony/ux-turbo/assets/dist/turbo_stream_controller.d.ts

17 lines
454 B
TypeScript
Raw Normal View History

2024-09-26 17:26:04 +02:00
import { Controller } from '@hotwired/stimulus';
export default class extends Controller {
static values: {
topic: StringConstructor;
hub: StringConstructor;
};
es: EventSource | undefined;
url: string | undefined;
readonly topicValue: string;
readonly hubValue: string;
readonly hasHubValue: boolean;
readonly hasTopicValue: boolean;
initialize(): void;
connect(): void;
disconnect(): void;
}