X-Git-Url: http://git.roojs.org/?p=roojs1;a=blobdiff_plain;f=docs%2Fsymbols%2FRoo.KeyMap.json;h=9c77b65357f22974094c69b927948d4ae7cacb2d;hp=429accc29fc84dff01cd0903e74e5907a780cdba;hb=dc0deb4ab24ebb1144a9c7c0cea2e5d6bedb54e1;hpb=a3ba42edf373fc5f2c84815d46e1234a15ab0a12
diff --git a/docs/symbols/Roo.KeyMap.json b/docs/symbols/Roo.KeyMap.json
index 429accc29f..9c77b65357 100644
--- a/docs/symbols/Roo.KeyMap.json
+++ b/docs/symbols/Roo.KeyMap.json
@@ -6,7 +6,7 @@
"tree_parent" : [],
"desc" : "Handles mapping keys to actions for an element. One key map can be used for multiple actions.\nThe constructor accepts the same config object as defined by {@link #addBinding}.\nIf you bind a callback function to a KeyMap, anytime the KeyMap handles an expected key\ncombination it will call the function with this signature (if the match is a multi-key\ncombination the callback will still be called only once): (String key, Roo.EventObject e)\nA KeyMap can also handle a string representation of keys.
\nUsage:\n
\n// map one key by key code\nvar map = new Roo.KeyMap(\"my-element\", {\n key: 13, // or Roo.EventObject.ENTER\n fn: myHandler,\n scope: myObject\n});\n\n// map multiple keys to one action by string\nvar map = new Roo.KeyMap(\"my-element\", {\n key: \"a\\r\\n\\t\",\n fn: myHandler,\n scope: myObject\n});\n\n// map multiple keys to multiple actions by strings and array of codes\nvar map = new Roo.KeyMap(\"my-element\", [\n {\n key: [10,13],\n fn: function(){ alert(\"Return was pressed\"); }\n }, {\n key: \"abc\",\n fn: function(){ alert('a, b or c was pressed'); }\n }, {\n key: \"\\t\",\n ctrl:true,\n shift:true,\n fn: function(){ alert('Control + shift + tab was pressed.'); }\n }\n]);\n
\nNote: A KeyMap starts enabled",
"isSingleton" : false,
- "isStatic" : false,
+ "isStatic" : true,
"isBuiltin" : false,
"isAbstract" : false,
"isBuilderTop" : false,