@syncfusion/ej2-richtexteditor
Version:
Essential JS 2 RichTextEditor component
158 lines (156 loc) • 4.72 kB
TypeScript
import { Dialog, Popup } from '@syncfusion/ej2-popups';
import { TableCommand } from '../../editor-manager/plugin/table';
export declare class Table {
tableObj: TableCommand;
element: HTMLElement;
private rteID;
private parent;
private dlgDiv;
private tblHeader;
popupObj: Popup;
editdlgObj: Dialog;
private createTableButton;
private contentModule;
private rendererFactory;
private quickToolObj;
private rowTextBox;
private columnTextBox;
private tableWidthNum;
private tableHeightNum;
private tableCellPadding;
private tableCellSpacing;
private tableBorderWidth;
private tableBorderColor;
private tableBackgroundColor;
private tableBorderStyle;
private selectedItem;
private multiSelectedItems;
private isMultiSelection;
private tableCellPaddingValue;
private tableCellVerticalAlignValue;
private tableCellHorizontalAlignValue;
private tableCellHeightValue;
private tableStyles;
private multipleSelectionCellStyles;
private colElementsInitialWidths;
private l10n;
private dialogRenderObj;
private isDestroyed;
private createdButtons;
private createdDropdownButtons;
private alignmentButtonHandlers;
private createTablePopupBoundFn;
private selectionTimeout;
private heightValue;
private widthValue;
private savedSelectionForDialog;
/**
* @private
*/
private selectionStage;
private constructor();
protected addEventListener(): void;
protected removeEventListener(): void;
private bindOnEnd;
private onPropertyChanged;
private getTableModelProperty;
private updateTableProperty;
private resizeStart;
private enableUndo;
private resizing;
private isTableQuickToolbarVisible;
private resizeEnd;
private afterRender;
private updateCss;
private setCssClass;
private dropdownSelect;
private UpdateCells;
private keyDown;
private handleSpecialActions;
private selectionEventTriggers;
private tableModulekeyUp;
private openDialog;
private showDialog;
private closeDialog;
private onToolbarAction;
private verticalAlign;
private hideTableQuickToolbar;
private tableHeader;
private getAnchorNode;
private editAreaClickHandler;
private shouldSkipQuickToolbar;
private shouldShowQuickToolbar;
private showTableQuickToolbar;
private tableCellClick;
private tableInsert;
private prepareSelectionForTableInsert;
private isHtmlEditorOutsideEditableRegion;
private cleanupTableCreationEvents;
private createTableConfiguration;
private insertTableIntoEditor;
private setupTableCellSelection;
private addRow;
private addColumn;
private removeRowColumn;
private removeTable;
private renderDlgContent;
private positionDialogue;
private onIframeMouseDown;
private docClick;
private drawTable;
private editTable;
private insertTableDialog;
private tableCellDlgContent;
private createTooltip;
private clearDialogObj;
private createDialog;
private applyTableCellPropertiesOnDialogClose;
private customTable;
private cancelDialog;
private tableColorHandler;
private getBorderWidthValue;
private applyBorderStyleAndWidth;
private saveProperties;
private applyHorizontalAlign;
private applyVerticalAlign;
private removeActiveClass;
private addActiveClass;
private createButtons;
private createButtonWithActiveClass;
private cleanupAlignmentButtons;
private addEventHandler;
private ConvertTableWidthHeightPxToPercent;
private ConvertTableWidthHeightPercentToPx;
private uniformColumnWidth;
private extractUnitFromValue;
private valuecontent;
private dropDownWidthButtonContent;
private dropDownHeightButtonContent;
private updateMultiSelctionHeight;
private dropDownSelctionForHeight;
private updateMultiSelectionWidth;
private dropDownSelctionForWidth;
private addActiveClassToDropdownItem;
private updateTitleForDropDownButton;
private dropDownButtonsRendering;
private extractNumericValue;
private formatWidthValue;
private formatHeightValue;
private renderCellPaddingNumericTextBox;
private renderHeightNumericTextBox;
private renderWidthNumericTextBox;
private tableDlgContent;
private storeInitialColWidths;
private isMultiSelectionPropertySame;
/**
* Destroys the ToolBar.
*
* @function destroy
* @returns {void}
* @hidden
*/
destroy(): void;
private getModuleName;
private afterKeyDown;
private createTablePopupKeyDown;
}