Sha256: 6f60bec71878a6ef4a3e36b4a58a9cc3d02c93da9e06ab69726ff53213788179
Contents?: true
Size: 1.15 KB
Versions: 7
Compression:
Stored size: 1.15 KB
Contents
Element.Event.Pseudo :keys {#Pseudos} ===================================== Defines the `:keys` Element Event Pseudo. It captures key combinations and fires an event when all keys are pressed. ### See Also - [Element.Event.Pseudos][] - [Keyboard][] ### Note - This plugin adds some common used keys to the keys you can use, like `-`, `end` or `=`. See for the complete list below. Pseudo: keys {#Pseudos:keys} ---------------------------- The event will only fire when a key combination is pressed. This only works with the `keydown` and `keyup` events. ### Example myElement.addEvent('keydown:keys(shift+a+b)', function(){ alert('You pressed the following keys: shift, a and b'); }); Element Event Keys ------------------ The following list is a list of the special characters you can use besides the alpha-numerical characters like a, b, 1 and 3. - enter - up - down - left - right - esc - space - backspace - tab - delete - shift - control - alt - capslock - pageup - pagedown - end - home - numlock - scrolllock - ; - = - , - - - . - / - ` - [ - \ - ] - ' - + [Element.Event.Pseudos]: /more/Element/Element.Event.Pseudos [Keyboard]: /more/Interface/Keyboard
Version data entries
7 entries across 7 versions & 1 rubygems