primevue-mirror/api-generator/components/confirmdialog.js

37 lines
946 B
JavaScript
Raw Normal View History

const ConfirmDialogProps = [
{
2022-09-14 14:26:41 +00:00
name: 'group',
type: 'string',
default: 'null',
description: 'Optional key to match the key of the confirmation, useful to target a specific confirm dialog instance.'
},
{
2022-09-14 14:26:41 +00:00
name: 'breakpoints',
type: 'object',
default: 'null',
description: 'Object literal to define widths per screen size.'
},
{
name: 'draggable',
type: 'boolean',
default: 'true',
description: 'Whether the dialog can be relocated by dragging.'
}
];
const ConfirmDialogSlots = [
{
2022-09-14 14:26:41 +00:00
name: 'message',
description: 'Custom content for the component.'
}
];
module.exports = {
confirmdialog: {
2022-09-14 14:26:41 +00:00
name: 'ConfirmDialog',
description: 'ConfirmDialog uses a Dialog UI that is integrated with the Confirmation API.',
props: ConfirmDialogProps,
slots: ConfirmDialogSlots
}
};