Home > SYS_ShortcutKey > unregister
SYS_ShortcutKey.unregister() method
This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
反注册快捷键
Signature
typescript
public unregister(id: string): boolean;1
Parameters
Parameter | Type | Description |
|---|---|---|
id | string | 快捷键 ID,如需反注册其它扩展注册的快捷键,请在前缀处拼接扩展 UUID,格式为: |
Returns
boolean
反注册是否成功
Remarks
本接口允许反注册其它扩展的快捷键,仅需按格式拼接快捷键 ID
本接口无法反注册系统快捷键
注意:本接口仅扩展有效,在独立脚本环境内调用将始终 throw Error ADD since EDA v4.2