UNPKG

primevue

Version:

PrimeVue is an open source UI library for Vue featuring a rich set of 80+ components, a theme designer, various theme alternatives such as Material, Bootstrap, Tailwind, premium templates and professional support. In addition, it integrates with PrimeBloc

39 lines (34 loc) 955 B
/** * * [Live Demo](https://www.primevue.org/dynamicdialog/) * @module dialogservice-usedialog */ import { Plugin } from 'vue'; import { DynamicDialogInstance, DynamicDialogOptions } from '../dynamicdialogoptions'; declare const plugin: Plugin; export default plugin; /** * Dynamic Dialog components methods. * * @group Model * */ export interface DialogServiceMethods { /** * Displays the dialog using the dynamic dialog object options. * @param {*} content - Dynamic component for content template * @param {DynamicDialogOptions} options - DynamicDialog Object * @return {@link DynamicDialogInstance} */ open(content: any, options?: DynamicDialogOptions): DynamicDialogInstance; } declare module 'vue/types/vue' { interface Vue { $dialog: DialogServiceMethods; } } declare module '@vue/runtime-core' { interface ComponentCustomProperties { $dialog: DialogServiceMethods; } }