As mentioned in the previous post, ivX has many components that can listen to the mouse moving in and out events, including the most commonly used click events. In fact, we can also listen to the keyboard key operation in the case. For example, in this demo, we can input some text information in the input box. Then click the Send button or just hit Enter to add what we just typed to the top. Let’s talk about the specific implementation method.

CtrlKey, shiftKey and altKey are used to combine keys. For example, when comKey selects ctrlKeyc, KeyValue C will trigger the action under the event only if you press CTRL and C at the same time. KeyValue Indicates the ivX option or another key name, such as a-Z or 0-9.