Options
All
  • Public
  • Public/Protected
  • All
Menu

This interface represents a PluginEvent wrapping native ContextMenu event

Hierarchy

Index

Properties

Optional eventDataCache

eventDataCache: {}

An optional event cache. This will be consumed by event cache API to store some expensive calculation result. So that for the same event across plugins, the result doesn't need to be calculated again

Type declaration

  • [key: string]: any

eventType

eventType: "contextMenu"

Type of this event

items

items: any[]

A callback array to let editor retrieve context menu item related to this event. Plugins can add their own getter callback to this array, items from each getter will be separated by a splitter item represented by null

rawEvent

rawEvent: MouseEvent

Raw DOM event

Generated using TypeDoc