ContextMenu namespace
Functions
Function | Description |
---|---|
callbackFactory(block, state) | Create a callback function that creates and configures a block, then places the new block next to the original and returns it. |
dispose() | Dispose of the menu. |
getCurrentBlock() | Gets the block the context menu is currently attached to. |
hide() | Hide the context menu. |
setCurrentBlock(block) | Sets the block the context menu is currently attached to. |
show(e, options, rtl) | Construct the menu based on the list of options and show the menu. |