AbstractGestureInterface
interface AbstractGestureInterface {
target: EventTarget;
start(): this;
stop(): this;
on(event: string, callback: (args: any) => void): this;
once(event: string, callback: (args: any) => void): this;
off(event: string, callback: (args: any) => void): this;
}
target: EventTarget;
start(): this;
stop(): this;
on(event: string, callback: (args: any) => void): this;
once(event: string, callback: (args: any) => void): this;
off(event: string, callback: (args: any) => void): this;
}
Index
Properties
Methods
Methods
start
start(): this
Returns this
stop
stop(): this
Returns this
on
on(event: string, callback: (args: any) => void): this
Parameters
event: string
callback: (args: any) => void
Returns this
once
once(event: string, callback: (args: any) => void): this
Parameters
event: string
callback: (args: any) => void
Returns this
off
off(event: string, callback: (args: any) => void): this
Parameters
event: string
callback: (args: any) => void