"data-shortcut" is established as one of HTML5 custom attributes to control behaviors of button elements at client. Efw framework will add shortcut behaviors to button elements by data-shortcut attributes when page-loading.
<input type="button" data-shortcut="F1"> <input type="button" data-shortcut="CTRL+A"> <input type="button" data-shortcut="ALT+Z">
Shortcut Key |
---|
F1 ... F12 |
CTRL+A ... CTRL+Z |
ALT+A ... ALT+Z |