0.0.1 • Published 5 years ago
@realign-zone/shortcuts.js v0.0.1
shortcuts.js
simple shortcuts in js
Usage
const opt = {
keys: {
a: 16,
b: 37
},
actionFn: () => {
console.log('action ing');
},
finishFn: () => {
console.log('action ed');
}
};
const S = Shortcuts.init(opt);
setTimeout(() => {
S.free();
console.log('free');
}, 10000);
0.0.1
5 years ago