How to add custom item to context menu in JavaScript File Manager
The context menu can be customized using the contextMenuSettings, menuOpen, and menuClick events.
The example below shows how to add a custom item to the context menu. Use the contextMenuSettings property to add the item, the menuOpen event to add an icon, and the menuClick event to handle the item’s action.