Protocol
KeyUpHandler
public protocol KeyUpHandler : EventHandler
A type conforming to KeyUpHandler is capable of receiving
key up events through the onKeyUp method.
Before receiving events, it must be registered with the dispatcher via the registerKeyUpHandler method. Similarly, it should be unregistered before deinitialization via the unregisterKeyUpHandler method available through the dispatcher.
Relationships
Conforms To
EventHandlerAn
Eventhandleris a type capable of being registered with theDispatcherto receive events of a certain type.
Requirements
onKeyUp(key:code:ctrlKey:shiftKey:altKey:metaKey:)
func onKeyUp(key:String, code:String, ctrlKey:Bool, shiftKey:Bool, altKey:Bool, metaKey:Bool)