vue-quilly
Version:
[](https://www.npmjs.com/package/vue-quilly) [](https://www.npmjs.com/package/vue-quilly?activeTab=code) [!
45 lines (44 loc) • 1.73 kB
TypeScript
import { default as Quill, Delta, EmitterSource, QuillOptions, Range } from 'quill/core';
type __VLS_Props = {
modelValue?: string | null;
options?: QuillOptions;
isSemanticHtmlModel?: boolean;
};
declare const _default: import('vue').DefineComponent<__VLS_Props, {
initialize: (QuillClass: typeof Quill) => Quill;
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
"update:modelValue": (value: string) => any;
"text-change": (args_0: {
delta: Delta;
oldContent: Delta;
source: EmitterSource;
}) => any;
"selection-change": (args_0: {
range: Range;
oldRange: Range;
source: EmitterSource;
}) => any;
"editor-change": (eventName: "text-change" | "selection-change") => any;
blur: (quill: Quill) => any;
focus: (quill: Quill) => any;
ready: (quill: Quill) => any;
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
"onText-change"?: ((args_0: {
delta: Delta;
oldContent: Delta;
source: EmitterSource;
}) => any) | undefined;
"onSelection-change"?: ((args_0: {
range: Range;
oldRange: Range;
source: EmitterSource;
}) => any) | undefined;
"onEditor-change"?: ((eventName: "text-change" | "selection-change") => any) | undefined;
onBlur?: ((quill: Quill) => any) | undefined;
onFocus?: ((quill: Quill) => any) | undefined;
onReady?: ((quill: Quill) => any) | undefined;
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
container: HTMLDivElement;
}, HTMLDivElement>;
export default _default;