@dcodegroup-au/dsg-vue
Version:
Front-end Vue/Tailwind DSG for UntitledUI.
31 lines (30 loc) • 1.24 kB
TypeScript
import { default as Vditor } from 'vditor';
export interface DsgEditorProps {
label?: string;
targetModel?: any;
targetModelClass?: string;
mediaUploadEndpoint?: string;
csrf?: string;
errors?: string[] | string;
}
type __VLS_Props = DsgEditorProps;
type __VLS_PublicProps = {
modelValue: string;
} & __VLS_Props;
declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {
getEditor: () => Vditor | undefined;
getEditorValue: () => string;
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
"update:modelValue": (value: string) => any;
} & {
"update:modelValue": (value: string) => any;
"on-before-input": (oldValue: string, value: string) => any;
"on-after-input": (value: string) => any;
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
"onOn-before-input"?: ((oldValue: string, value: string) => any) | undefined;
"onOn-after-input"?: ((value: string) => any) | undefined;
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
vditor: HTMLDivElement;
}, HTMLDivElement>;
export default _default;