Open this page in the API Guide

ContextMenuService.hideContextMenu Method

Hides the context menu.