From bdde45ac1d0ca937dcc4975edd26dd226293b0a3 Mon Sep 17 00:00:00 2001 From: mertsincan Date: Wed, 29 May 2019 09:29:05 +0300 Subject: [PATCH] Created Editor.d.ts --- src/components/editor/Editor.d.ts | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 src/components/editor/Editor.d.ts diff --git a/src/components/editor/Editor.d.ts b/src/components/editor/Editor.d.ts new file mode 100644 index 000000000..c310a591c --- /dev/null +++ b/src/components/editor/Editor.d.ts @@ -0,0 +1,14 @@ +import Vue, { VNode } from 'vue'; + +export declare class Editor extends Vue { + value?: string; + placeholder?: string; + readonly?: boolean; + formats?: any[]; + editorStyle?: string; + $emit(eventName: 'input', event: string): this; + $emit(eventName: 'text-change', e: { htmlValue: string, textValue: any, delta: any, source: string}): this; + $slot: { + toolbar: VNode[]; + } +} \ No newline at end of file