blockly > ContextMenuRegistry > LegacyContextMenuOption
A subset of ContextMenuOption corresponding to what was publicly documented. ContextMenuOption should be preferred for new code.
Signature:
interface LegacyContextMenuOption
Properties
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-18 UTC.
[null,null,["Last updated 2024-09-18 UTC."],[[["`LegacyContextMenuOption` interface provides a subset of functionalities found in `ContextMenuOption` for backward compatibility."],["It is recommended to use `ContextMenuOption` for new code development instead of `LegacyContextMenuOption`."],["This interface includes properties such as `callback`, `enabled`, and `text` to define context menu options."]]],[]]