UNPKG

gl2d

Version:

2D graphics package for WebGL

13 lines (12 loc) 347 B
import { _Surface } from '../rendering/surface'; export interface SurfaceEvent<S extends _Surface, E extends Event> { /** * The surface targeted by this action. */ target: S; /** * The event that triggered this action. */ src: E; } export declare type _SurfaceEvent = SurfaceEvent<_Surface, Event>;