mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 08:52:34 +00:00
Styles imported. Components added
This commit is contained in:
parent
3cb3910561
commit
8264983db4
452 changed files with 55902 additions and 0 deletions
27
components/dialogservice/DialogService.d.ts
vendored
Normal file
27
components/dialogservice/DialogService.d.ts
vendored
Normal file
|
@ -0,0 +1,27 @@
|
|||
import { Plugin } from 'vue';
|
||||
import { DynamicDialogOptions, DynamicDialogInstance } from '../dynamicdialogoptions';
|
||||
|
||||
declare const plugin: Plugin;
|
||||
export default plugin;
|
||||
|
||||
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;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue