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.
Unregister a shortcut key
Signature
function unregister(id: string): boolean;Parameters
Parameter | Type | Description |
|---|---|---|
id | string | Shortcut key ID. To unregister shortcut keys registered by other extensions, concatenate the extension UUID as a prefix. Format: |
Returns
boolean
Whether the unregistration was successful
Remarks
This API allows unregistering shortcut keys of other extensions. Simply concatenate the shortcut key ID in the specified format
This API cannot unregister system shortcut keys
Note: This API is only valid for extensions. Calling it in a standalone script environment will always throw Error ADD since EDA v4.2