mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 00:42:36 +00:00
Components added. Build issues fixed
This commit is contained in:
parent
5b66ed1093
commit
18c3721848
344 changed files with 12446 additions and 8758 deletions
24
components/editor/Editor.d.ts
vendored
24
components/editor/Editor.d.ts
vendored
|
@ -51,6 +51,13 @@ export interface EditorSelectionChangeEvent {
|
|||
instance: any;
|
||||
}
|
||||
|
||||
export interface EditorLoadEvent {
|
||||
/**
|
||||
* Text editor instance.
|
||||
*/
|
||||
instance: any;
|
||||
}
|
||||
|
||||
export interface EditorProps {
|
||||
/**
|
||||
* Value of the content.
|
||||
|
@ -72,6 +79,10 @@ export interface EditorProps {
|
|||
* Inline style of the container.
|
||||
*/
|
||||
editorStyle?: any;
|
||||
/**
|
||||
* Modules configuration, see [here](https://quilljs.com/docs/modules/) for available options.
|
||||
*/
|
||||
modules?: any;
|
||||
}
|
||||
|
||||
export interface EditorSlots {
|
||||
|
@ -97,13 +108,18 @@ export declare type EditorEmits = {
|
|||
* @param {EditorSelectionChangeEvent} event - Custom selection change event.
|
||||
*/
|
||||
'selection-change': (event: EditorSelectionChangeEvent) => void;
|
||||
}
|
||||
/**
|
||||
* Callback to invoke when the quill modules are loaded.
|
||||
* @param {EditorLoadEvent} event - Custom load event.
|
||||
*/
|
||||
load: (event: EditorLoadEvent) => void;
|
||||
};
|
||||
|
||||
declare class Editor extends ClassComponent<EditorProps, EditorSlots, EditorEmits> { }
|
||||
declare class Editor extends ClassComponent<EditorProps, EditorSlots, EditorEmits> {}
|
||||
|
||||
declare module '@vue/runtime-core' {
|
||||
interface GlobalComponents {
|
||||
Editor: GlobalComponentConstructor<Editor>
|
||||
Editor: GlobalComponentConstructor<Editor>;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -113,7 +129,7 @@ declare module '@vue/runtime-core' {
|
|||
*
|
||||
* Demos:
|
||||
*
|
||||
* - [Editor](https://www.primefaces.org/primevue/showcase/#/editor)
|
||||
* - [Editor](https://www.primefaces.org/primevue/editor)
|
||||
*
|
||||
*/
|
||||
export default Editor;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue