This sample demonstrates the default functionalities of the ContextMenu. Right click/Touch hold the rectangular area to open the ContextMenu.
ContextMenu is a graphical user interface that appears on the user right click/touch hold action. It has support to provide single level/multiple level of ContextMenu.
In this demo,
property is set as '#contextmenutarget'. Hence, on right clicking the target element, the ContextMenu will open.
In mobile, the sub menu opens in a single layer with option for switching back to parent menu.
More information about ContextMenu can be found in this documentation section.