Created Editor.d.ts
parent
798ba1e452
commit
bdde45ac1d
|
@ -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[];
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue