View source
enum abstract MouseClickEventState(Int)
package koui.events
from Int to Int
import koui.events.MouseEvent
Variables
inlineread onlyClickCancelled:MouseClickEventState = flag(3)
The same as MouseClickEventState.ClickEnd
but fired when the focused
element is no longer hovered, i.e. the clicking action was cancelled by the user.
inlineread onlyClickEnd:MouseClickEventState = flag(1)
Received by the focused element when the mouse button was released and the element is still hovered.
inlineread onlyClickHold:MouseClickEventState = flag(2)
Received by the focused element if any mouse button is pressed.
inlineread onlyClickStart:MouseClickEventState = flag(0)
Received by the hovered element if the mouse first clicks on it.