onMousePressed

var onMousePressed: (MouseEvent) -> Unit? = null

Gets invoked with a MouseEvent whenever the mouse is pressed inside this ComponentView.

See also