From 0d908d0592ffc7d0639ea277baf106cbc6a54007 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AE=87=E5=A4=A9?= Date: Tue, 3 Nov 2020 20:23:55 +0800 Subject: [PATCH] =?UTF-8?q?=E7=AC=94=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Readme.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Readme.md b/Readme.md index b35a28d..b395f98 100644 --- a/Readme.md +++ b/Readme.md @@ -57,14 +57,14 @@ kb.on(['ctrl + c', 'ctrl + v'], ev => { ### API -+ .on(actions, callback) ++ .on(actions``, callback``) > 监听键盘动作组合, 支持单组或双组。 >> 双组时, 2组按键前后时差不能超过`300毫秒`, 否则视为2次独立的操作。 >> **键名不区分大小写** --- -+ .off(actions, callback) ++ .off(actions``, callback``) > 移除键盘监听。 ---