[API] Mark ContextMenu methods as deprecated, cleanup (#948)

- Marks unused static methods as deprecated
- Removes redundant / orphaned code
- Uses existing AbortController to remove all root listeners
This commit is contained in:
filtered
2025-04-20 21:25:25 +10:00
committed by GitHub
parent 21a3f56187
commit cc5aece6b6
2 changed files with 5 additions and 18 deletions

View File

@@ -400,7 +400,6 @@ export interface IContextMenuSubmenu<TValue = unknown> extends IContextMenuOptio
export interface ContextMenuDivElement<TValue = unknown> extends HTMLDivElement {
value?: string | IContextMenuValue<TValue>
onclick_callback?: never
closing_timer?: number
}
export type INodeSlotContextItem = [string, ISlotType, Partial<INodeInputSlot & INodeOutputSlot>]