diff --git a/README.md b/README.md index 7ff3ae3..b068477 100644 --- a/README.md +++ b/README.md @@ -152,6 +152,7 @@ hotkeys('*','wcj', function(event){ - `element` - `keyup` - `keydown` +- `splitKey` (default is `+`) ```js hotkeys('o, enter', { @@ -160,6 +161,14 @@ hotkeys('o, enter', { }, function(){ console.log('do something else'); }); + +hotkeys('ctrl-+', {splitKey: '-'}, function(e) { + console.log('you pressed ctrl and +'); +}); + +hotkeys('+', {splitKey: '-'}, function(e){ + console.log('you pressed +'); +}) ``` ## API REFERENCE