add overlay events.

This commit is contained in:
Miroslav Šedivý
2022-01-30 17:09:35 +01:00
parent bd5f02223a
commit de62a349ed
3 changed files with 7 additions and 2 deletions

View File

@ -39,6 +39,10 @@ export interface NekoEvents {
['room.screen.updated']: (width: number, height: number, rate: number) => void
['room.clipboard.updated']: (text: string) => void
['room.broadcast.status']: (isActive: boolean, url?: string) => void
// overlay events
['overlay.click']: () => void
['overlay.contextmenu']: () => void
}
export class NekoMessages extends EventEmitter<NekoEvents> {