...
Codeblock | ||||||
---|---|---|---|---|---|---|
| ||||||
initShortcuts(shortcutHolderClass, bindingConf, searchGlobal); |
shortcutHolderClass (String)
String which holds the class defining the starting point of an element for searching the shortcuts actions. (e.g. for lists the class is "jax-list-generalholder-div")
bindingConf (String)
For the mapping of the shortcut keys, each shortcut can be paired with an html element id which holds the action called by the fired shortcut.
Codeblock | ||||||
---|---|---|---|---|---|---|
| ||||||
{"newLI":"alt+n", "cpLI":"alt+k", "delLI":"alt+r"} |
searchGlobal (boolean)
Boolean parameter which indicates if the focused field is not within the shortcutHolderClass, the shortcuts should be searched document wide instead.
Configuration for list related shortcuts
...
Codeblock | ||||||
---|---|---|---|---|---|---|
| ||||||
registerListShortcuts(simplifiedConf, searchGlobalsearchGlobalList); |
simplifiedConf (String)
...
id | description |
---|---|
new | Add a new list entry |
copy | Copy the selected list entry |
delete | Delete the selected list entry |
moveUp | Move the selected list entry up |
moveDown | Move the selected list entry down |
searchGlobal searchGlobalList (boolean)
Boolean parameter which indicates if the focus is not within a list, the first list in the view should be applied if available instead.