bind-keys
# install
Last updated 4 years ago by hzongquan .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install bind-keys 
SYNC missed versions from official npm registry.

bindKey

install

npm i -S bind-keys

example

import { unbindKey }, bindKey from 'bind-keys';

const listener = bindKey('ctrl-h', function() { console.log('ctrl-h clicked!')});

// unbind
unbindKey(listener);

Current Tags

  • 0.1.0-alpha-4                                ...           latest (4 years ago)

5 Versions

  • 0.1.0-alpha-4                                ...           4 years ago
  • 0.1.0-alpha-3                                ...           4 years ago
  • 0.1.0-alpha.3                                ...           4 years ago
  • 0.1.0-alpha.2                                ...           4 years ago
  • 0.1.0-alpha.1                                ...           4 years ago
Maintainers (1)
Downloads
Today 0
This Week 1
This Month 3
Last Day 1
Last Week 1
Last Month 2
Dependencies (1)
Dev Dependencies (5)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |