UNPKG

vue-email-editor

Version:

The excellent drag-n-drop email editor by [Unlayer](https://unlayer.com/embed) as a [Vue](https://vuejs.org/) _wrapper component_. This is the most powerful and developer friendly visual email builder for your app.

80 lines (79 loc) 2.78 kB
import { EmailEditorProps } from './types'; declare const _default: import("vue").DefineComponent<{ editorId: () => EmailEditorProps["editorId"]; minHeight: { type: () => EmailEditorProps["minHeight"]; default: string; }; options: { type: () => EmailEditorProps["options"]; default: () => {}; }; scriptUrl: () => EmailEditorProps["scriptUrl"]; /** * @Deprecated Props: Use `options.appearance` instead */ appearance: () => EmailEditorProps["appearance"]; /** * @Deprecated Props: Use `options.locale` instead */ locale: () => EmailEditorProps["locale"]; /** * @Deprecated Props: Use `options.projectId` instead */ projectId: () => EmailEditorProps["projectId"]; /** * @Deprecated Props: Use `options.tools` instead */ tools: () => EmailEditorProps["tools"]; }, { editor: import("vue").ShallowRef<import("./types").Editor | null>; createSerializedEditor: (originalEditor: any) => any; }, unknown, { id(): string | undefined; }, { loadEditor(): void; /** * @deprecated This method will be removed in the next major release. Use `editor.exportHtml` instead. */ exportHtml(callback: Parameters<EmailEditorProps["exportHtml"]>[0]): void; /** * @deprecated This method will be removed in the next major release. Use `editor.loadDesign` instead. */ loadDesign(design: Parameters<EmailEditorProps["loadDesign"]>[0]): void; /** * @deprecated This method will be removed in the next major release. Use `editor.saveDesign` instead. */ saveDesign(callback: Parameters<EmailEditorProps["saveDesign"]>[0]): void; }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{ editorId: () => EmailEditorProps["editorId"]; minHeight: { type: () => EmailEditorProps["minHeight"]; default: string; }; options: { type: () => EmailEditorProps["options"]; default: () => {}; }; scriptUrl: () => EmailEditorProps["scriptUrl"]; /** * @Deprecated Props: Use `options.appearance` instead */ appearance: () => EmailEditorProps["appearance"]; /** * @Deprecated Props: Use `options.locale` instead */ locale: () => EmailEditorProps["locale"]; /** * @Deprecated Props: Use `options.projectId` instead */ projectId: () => EmailEditorProps["projectId"]; /** * @Deprecated Props: Use `options.tools` instead */ tools: () => EmailEditorProps["tools"]; }>>, { options: import("@unlayer/types").UnlayerOptions | undefined; minHeight: string | number | undefined; }, {}>; export default _default;