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

43 lines (39 loc) 1.04 kB
import { VNode } from 'vue'; interface DialogProps { header?: any; footer?: any; visible?: boolean; modal?: boolean; contentStyle?: any; contentClass?: string; rtl?: boolean; closable?: boolean; dismissableMask?: boolean; closeOnEscape?: boolean; showHeader?: boolean; baseZIndex?: number; autoZIndex?: boolean; ariaCloseLabel?: string; position?: string; maximizable?: boolean; breakpoints?: {[key: string]: string}; draggable: boolean; keepInViewPort: boolean; minX: number; minY: number; } declare class Dialog { $props: DialogProps; $emit(eventName: 'update:visible', value: boolean): this; $emit(eventName: 'show'): this; $emit(eventName: 'hide'): this; $emit(eventName: 'maximize', event: Event): this; $emit(eventName: 'unmaximize', event: Event): this; $emit(eventName: 'dragend', event: Event): this; $slots: { '': VNode[]; header: VNode[]; footer: VNode[]; } } export default Dialog;