sparkle-engine

Interface IMouseEvents

interface IMouseEvents {
    onMouseDown: ((position) => void);
    onMouseMove: ((position) => void);
    onMouseUp: ((position) => void);
}

Properties

onMouseDown: ((position) => void)

Type declaration

    • (position): void
    • Parameters

      Returns void

onMouseMove: ((position) => void)

Type declaration

    • (position): void
    • Parameters

      Returns void

onMouseUp: ((position) => void)

Type declaration

    • (position): void
    • Parameters

      Returns void