UNPKG

@syncfusion/ej2-documenteditor

Version:

Feature-rich document editor control with built-in support for context menu, options pane and dialogs.

45 lines (44 loc) 1.26 kB
import { DocumentEditorContainer } from '../document-editor-container'; /** * Image Property pane * * @private */ export declare class ImageProperties { private container; private elementId; element: HTMLElement; private widthElement; private heightElement; private widthNumericBox; private heightNumericBox; private aspectRatioBtn; private isMaintainAspectRatio; private isWidthApply; private isHeightApply; private isRtl; private textArea; private textareaObj; private readonly documentEditor; constructor(container: DocumentEditorContainer, isRtl?: boolean); /** * @private * @param {boolean} enable - enable/disable image properties pane. * @returns {void} */ enableDisableElements(enable: boolean): void; private initializeImageProperties; private initImageProp; private initImageAltProp; private createImagePropertiesDiv; wireEvents(): void; private applyImageAlternativeText; private onImageWidth; private onImageHeight; private applyImageWidth; private applyImageHeight; private onAspectRatioBtnClick; showImageProperties(isShow: boolean): void; updateImageProperties(): void; destroy(): void; }