⌂
›
Reference
›
BrowserContextMenu
BrowserContextMenu
BrowserContextMenu control. Build it with the page.browser_context_menu helper.
Example
page.browser_context_menu(disabled: true)
Properties
data— Arbitrary value you can attach to the control and read back in handlers.disabled— Disables interaction when true.key— Stable identity used to preserve state across rebuilds.
Reference
- Family:
shared - Widget type:
browsercontextmenu - Helper:
page.browser_context_menu