提交 4a8be1ec 编写于 作者: S shawn_he

update doc

Signed-off-by: Nshawn_he <shawn.he@huawei.com>
上级 db923db1
...@@ -353,7 +353,7 @@ Disables listening for screen hopping events. ...@@ -353,7 +353,7 @@ Disables listening for screen hopping events.
callback: function(event) { callback: function(event) {
console.log(`Keyboard mouse crossing event: ${JSON.stringify(event)}`); console.log(`Keyboard mouse crossing event: ${JSON.stringify(event)}`);
return false; return false;
}, }
try { try {
inputDeviceCooperate.on('cooperation', this.callback); inputDeviceCooperate.on('cooperation', this.callback);
inputDeviceCooperate.off("cooperation", this.callback); inputDeviceCooperate.off("cooperation", this.callback);
...@@ -366,7 +366,7 @@ try { ...@@ -366,7 +366,7 @@ try {
callback: function(event) { callback: function(event) {
console.log(`Keyboard mouse crossing event: ${JSON.stringify(event)}`); console.log(`Keyboard mouse crossing event: ${JSON.stringify(event)}`);
return false; return false;
}, }
try { try {
inputDeviceCooperate.on('cooperation', this.callback); inputDeviceCooperate.on('cooperation', this.callback);
inputDeviceCooperate.off("cooperation"); inputDeviceCooperate.off("cooperation");
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册