Options
All
  • Public
  • Public/Protected
  • All
Menu

TableEdit plugin, provides the ability to resize a table by drag-and-drop

Hierarchy

  • TableEditPlugin

Implements

Index

Constructors

constructor

  • Construct a new instance of TableResize plugin

    Parameters

    • Optional anchorContainerSelector: string

      An optional selector string to specify the container to host the plugin. The container must not be affected by transform: scale(), otherwise the position calculation will be wrong. If not specified, the plugin will be inserted in document.body

    • Optional onTableEditorCreated: OnTableEditorCreatedCallback

      An optional callback to customize the Table Editors elements when created.

    • Optional disableFeatures: TableEditFeatureName[]

      An optional array of TableEditFeatures to disable

    Returns TableEditPlugin

Methods

dispose

  • dispose(): void

getName

  • getName(): string

initialize

  • initialize(editor: IEditor): void

onPluginEvent

setTableEditor

  • setTableEditor(table: HTMLTableElement, event?: MouseEvent): void

Generated using TypeDoc