Versionen im Vergleich

Schlüssel

  • Diese Zeile wurde hinzugefügt.
  • Diese Zeile wurde entfernt.
  • Formatierung wurde geändert.

...

Codeblock
themeEclipse
languagejavascript
titlegeneral configuration
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
themeEclipse
languagejavascript
titlebindingConf example
{"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
themeEclipse
languagejavascript
titlelist related configuration
registerListShortcuts(simplifiedConf, searchGlobalsearchGlobalList); 

simplifiedConf (String)

...

iddescription
newAdd a new list entry
copyCopy the selected list entry
deleteDelete the selected list entry
moveUpMove the selected list entry up
moveDownMove 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.