UNPKG

primevue

Version:

[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) [![npm version](https://badge.fury.io/js/primevue.svg)](https://badge.fury.io/js/primevue) [![Discord Chat](https://img.shields.io/discord/55794023

21 lines (17 loc) 477 B
import { VNode } from 'vue'; interface EditorProps { modelValue?: string; placeholder?: string; readonly?: boolean; formats?: any[]; editorStyle?: string; } declare class Editor { $props: EditorProps; $emit(eventName: 'input', event: string): this; $emit(eventName: 'text-change', e: { htmlValue: string, textValue: any, delta: any, source: string, instance: any}): this; $slot: { toolbar: VNode[]; } } export default Editor;