You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
By default, when an `INPUT`, `SELECT` or `TEXTAREA` element is focused, Keymaster doesn't process any shortcuts.
@@ -136,6 +144,7 @@ key.filter = function(event){
136
144
However a more robust way to handle this is to use proper
137
145
focus and blur event handlers on your input element, and change scopes there as you see fit.
138
146
147
+
139
148
## noConflict mode
140
149
141
150
You can call ```key.noConflict``` to remove the ```key``` function from global scope and restore whatever ```key``` was defined to before Keymaster was loaded. Calling ```key.noConflict``` will return the Keymaster ```key``` function.
@@ -148,6 +157,7 @@ key()
148
157
// --> TypeError: 'undefined' is not a function
149
158
```
150
159
160
+
151
161
## Unbinding shortcuts
152
162
153
163
Similar to defining shortcuts, they can be unbound using `key.unbind`.
0 commit comments