Options
All
  • Public
  • Public/Protected
  • All
Menu

PickerPlugin represents a plugin of editor which can handle picker related behaviors, including

  • Show picker when special trigger key is pressed
  • Hide picker
  • Change selection in picker by Up/Down/Left/Right
  • Apply selected item in picker

PickerPlugin doesn't provide any UI, it just wraps related DOM events and invoke callback functions.

Hierarchy

  • PickerPlugin

Implements

Index

Constructors

constructor

Methods

dispose

  • dispose(): void

getName

  • getName(): string

initialize

  • initialize(editor: IEditor): void

onPluginEvent

willHandleEventExclusively

  • willHandleEventExclusively(event: PluginEvent): boolean
  • Check if the plugin should handle the given event exclusively. Handle an event exclusively means other plugin will not receive this event in onPluginEvent method. If two plugins will return true in willHandleEventExclusively() for the same event, the final result depends on the order of the plugins are added into editor

    Parameters

    Returns boolean

Generated using TypeDoc