Revision Difference
SANDBOX:ContextMenuOpen#529029
<function name="ContextMenuOpen" parent="SANDBOX" type="hook">
<ishook>yes</ishook>
<description>Called when the context menu is trying to be opened. Return false to disallow it.⤶
⤶
See <page>SANDBOX:ContextMenuOpen</page> if you wish to simply prevent the context menu from opening.⤶
</description>⤶
<description>Called when the context menu is trying to be opened.</description>⤶
<realm>Client</realm>
<predicted>No</predicted>
<rets>
<ret name="" type="boolean">Allow menu to open.</ret>
<ret name="" type="boolean">Return `false` to block the opening.</ret>
</rets>
</function>