@syncfusion/ej2-vue-documenteditor
Version:
Feature-rich document editor control with built-in support for context menu, options pane and dialogs. for Vue
47 lines (46 loc) • 1.86 kB
TypeScript
import { ComponentBase, DefineVueComponent } from '@syncfusion/ej2-vue-base';
import { DocumentEditorContainer, DocumentEditorContainerModel } from '@syncfusion/ej2-documenteditor';
export declare const properties: string[];
export declare const modelProps: string[];
export declare const testProp: any;
export declare const props: any, watch: any, emitProbs: any;
/**
* Represents the Essential JS 2 VueJS Document Editor Container
* ```html
* <ejs-documenteditor-container id='container'></ejs-documenteditor-container>
* ```
*/
export declare let DocumentEditorContainerComponent: DefineVueComponent<DocumentEditorContainerModel>;
export declare type DocumentEditorContainerComponent = typeof ComponentBase & {
ej2Instance: DocumentEditorContainer;
isVue3: boolean;
isLazyUpdate: Boolean;
plugins: any[];
propKeys: string[];
models: string[];
hasChildDirective: boolean;
tagMapper: {
[key: string]: Object;
};
tagNameMapper: Object;
setProperties(prop: any, muteOnChange: boolean): void;
trigger(eventName: string, eventProp: {
[key: string]: Object;
}, successHandler?: Function): void;
destroy(): void;
getDefaultCharacterFormat(): Object;
getDefaultParagraphFormat(): Object;
getDefaultSectionFormat(): Object;
getDocumentCharacterFormat(): Object;
getDocumentParagraphFormat(): Object;
resize(width?: number, height?: number): void;
setDefaultCharacterFormat(characterFormat: Object): void;
setDefaultParagraphFormat(paragraphFormat: Object): void;
setDefaultSectionFormat(sectionFormat: Object): void;
setDocumentCharacterFormat(characterFormat: Object): void;
setDocumentParagraphFormat(paragraphFormat: Object): void;
};
export declare const DocumentEditorContainerPlugin: {
name: string;
install(Vue: any): void;
};