Runs the handler bound to a key without a real key press.
The key, for example ctrl+z.
ctrl+z
Optional
'keydown' (the default) or 'keyup'.
'keydown'
'keyup'
instance.UI.hotkeys.trigger(instance.UI.hotkeys.Keys.CTRL_Z); Copy
instance.UI.hotkeys.trigger(instance.UI.hotkeys.Keys.CTRL_Z);
Runs the handler bound to a key without a real key press.