Development tools : Keyboard support : Global function key support
  
Global function key support
Global function key supports a generic action or fixed action for all pages until the browser window is closed. You can disable the default behavior of browser by using this mechanism, for example, reload(F5, ctrl+R).
See the supported keys in Supported key combinations.
1 Edit and save all the definitions in one single JS file manually for each project, for example in js/keymap/globalKeyMap.js.
This graphic is described in the surrounding text.
2 Register the definition in template file by adding the following code:
enegine.registerKeys("<%=baseURL%>js/keymap/globalKeyMap.js")
In Multi-project:
Global js in the global project would work on the whole session and. Users could also save local JS in local projects. Register the definition is like:
For the same key map items, the local js file would override the common js and the next js would override the previous js.
This graphic is described in the surrounding text.
Go up to
Keyboard support