UNPKG

@mescius/dspdfviewer

Version:
24 lines (23 loc) 800 B
//@ts-ignore /// <reference types="react" /> import { CancelableEditorBase } from './CancelableEditorBase'; import { AnnotationBase } from '../AnnotationTypes'; import GcPdfViewer from '../..'; export declare class TextAreaEditor extends CancelableEditorBase { private _textArea; //@ts-ignore getEditorControls(): JSX.Element[]; onApply(): void; onCancel(): void; setControlsVisibility(isVisible: boolean): void; componentDidUpdate(): void; getIsLocked(): boolean; getIsContentsLocked(): boolean; get originalNode(): AnnotationBase; get viewer(): GcPdfViewer; protected isValueDirty(): boolean; private _onTextAreaInput; private _onChange; private get updatedTextAreaValue(); private set updatedTextAreaValue(value); }