mirror of
https://github.com/m1k1o/neko.git
synced 2024-07-24 14:40:50 +12:00
add original event to control events.
This commit is contained in:
@ -8,8 +8,8 @@ import { NekoConnection } from './connection'
|
||||
import { Control } from '../types/state'
|
||||
|
||||
export interface NekoControlEvents {
|
||||
['overlay.click']: () => void
|
||||
['overlay.contextmenu']: () => void
|
||||
['overlay.click']: (e: MouseEvent) => void
|
||||
['overlay.contextmenu']: (e: MouseEvent) => void
|
||||
}
|
||||
|
||||
export class NekoControl extends EventEmitter<NekoControlEvents> {
|
||||
|
Reference in New Issue
Block a user