@hadyfayed/filament-react-wrapper
Version:
Enterprise React integration for Laravel/Filament - Smart asset loading, 90%+ React-PHP function mapping, no-plugin Filament integration
11 lines • 457 B
TypeScript
import { IEventSystem } from '../interfaces/IComponentRegistry';
export declare class EventSystem implements IEventSystem {
private listeners;
on(event: string, callback: Function, priority?: number): void;
off(event: string, callback: Function): void;
emit(event: string, data?: any): any;
hasListeners(event: string): boolean;
clear(): void;
getListenerCount(event?: string): number;
}
//# sourceMappingURL=EventSystem.d.ts.map