MouseCallback: ((e) => boolean)

A callback that can be used to test for a mouse button or key combination. If the function returns true, the associated action is executed.

Type declaration

    • (e): boolean
    • Parameters

      • e: MouseEvent

      Returns boolean