English
Home > ISYS_RightClickMenuItemPosition
ISYS_RightClickMenuItemPosition interface
右键菜单项插入位置
Signature
typescript
interface ISYS_RightClickMenuItemPosition1
Remarks
仅在插入菜单项时使用,用于指定新菜单项相对于已有菜单项的位置
mode 为 before、after 时必须提供 referenceId;mode 为 index 时必须提供 index
Properties
Property | Modifiers | Type | Description |
|---|---|---|---|
number | (Optional) 目标下标, | ||
'start' | 'end' | 'before' | 'after' | 'index' | 插入方式
| ||
string | (Optional) 参照菜单项 ID, |