View as standalone SVG

Pergola implements custom context menus to override the browser's default context menu.

Click on the shape below to show its custom context menu, overriding the browser's context menu for that element, but not for the rest of the document.


Set the context menu for a random element (from example):

Set the context menu for an to object:

Set the context menu for a component of a window object:

Learn more in the CUSTOM CONTEXT MENU section of the Tutorial.