Defines the :keys Element Event Pseudo. It captures key combinations and fires an event when all keys are pressed.
-, end or =. See for the complete list below.The event will only fire when a key combination is pressed. This only works with the keydown and keyup events.
myElement.addEvent('keydown:keys(shift+a+b)', function(){ alert('You pressed the following keys: shift, a and b'); });
The following list is a list of the special characters you can use besides the alpha-numerical characters like a, b, 1 and 3.
| © Linux.ria.ua, 2008-2024 |