Created Editor.d.ts

pull/12/head
mertsincan 2019-05-29 09:29:05 +03:00
parent 798ba1e452
commit bdde45ac1d
1 changed files with 14 additions and 0 deletions

14
src/components/editor/Editor.d.ts vendored Normal file
View File

@ -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[];
}
}