ActionIO.frameEvent

Create an input event to which ActionIO should always bind to the CoreAction.frame input action. Consequently, ActionIO always responds with a CoreAction.frame input action after processing remaining input actions. This can be cancelled by emitting a noopEvent before the frameEvent is handled.

This can be used by device and input handling I/Os to detect the moment after which all input actions have been processed. This means that it can be used to develop fallback mechanisms like hoverImpl and focusImpl, which only trigger if no input action has been activated.

Note that CoreAction.frame might, or might not, be emitted if another action event has been emitted during the same frame. InputMapChain will only emit CoreAction.frame is no other input action has been handled.

interface ActionIO
static
frameEvent
()

Return Value

An instance of Event.frameEvent.

See Also

noopEvent

Meta